SSCCE for the entire Elm syntax

I like the idea.

From a quick glance, it seems that at least the following are missing:

  • multiline strings (with """)
  • tuples and unit type pattern matching
  • exposing (..) import
  • characters (Char with ')
  • records fields accessors without the syntax suggar (.field record)

You could also show that record fields accessors work on expressions, for example:

(named "myname").name

Also have a look there:

There are other things like multiple imports using the same alias.

2 Likes