Strings are only ever "double-quoted" (no single quoted strings, 'char may be used for chars in the future)
This simplifies the number of rules developers have to keep in their heads about strings, and reduces strings to 2 syntaxes instead of 4, which is still less than most languages which will have 6 or more.
I might re-add single quoted strings and say that they are functionally the same (both would require ' and " to be escaped), but I'd rather allow both as part of the formatter and format to one syntax
All strings can have interpolations
Again, making all strings equivalent
:symbols are now .properties
I think properties are a better way to think about symbols
I like the syntax I see in Swift better
I think there's a nice matchup between rec.prop and let x = .prop and rec[.prop]
Sets now use Set [...] instead of {...}
Sets are more similar to arrays and lists
Switching to keyword based syntax for data structures
Arrays now use Array [ ... ] instead of [| ... |]
Switching to keyword based syntax for data structures
Records now use { a = b } instead of { a: b }
I want to switch to have : ... reserved for "this is a type"
Maps now use Map { "a" = b } instead of {= "a" = b =}
Switching to keyword based syntax for data structures
"double-quoted"
(no single quoted strings,'char
may be used for chars in the future)'
and"
to be escaped), but I'd rather allow both as part of the formatter and format to one syntax:symbols
are now.properties
rec.prop
andlet x = .prop
andrec[.prop]
Set [...]
instead of{...}
Array [ ... ]
instead of[| ... |]
{ a = b }
instead of{ a: b }
: ...
reserved for "this is a type"Map { "a" = b }
instead of{= "a" = b =}