From 3220f0aec73a35e095b08d5765df27dd7fbfb706 Mon Sep 17 00:00:00 2001 From: greg Date: Wed, 13 Sep 2017 23:04:26 -0700 Subject: [PATCH] A random idea --- test.schala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test.schala b/test.schala index b17edc7..3f7e867 100644 --- a/test.schala +++ b/test.schala @@ -74,7 +74,10 @@ fn main() { #syntax is, I guess, for , where is a bool, or a # type level alises - typealias = + typealias = #maybe thsi should be 'alias'? + +#what if type A = B meant that you could had to create A's with A(B), but when you used A's the interface was exactly like B's? +# maybe introduce a 'newtype' keyword for this #declaring types of all stripes type MyData = { a: i32, b: String }