pietervdvn / Lang

Yet another programming language
1 stars 1 forks source link

Add syntactic sugar for Any, more set, list and dict #64

Open pietervdvn opened 9 years ago

pietervdvn commented 9 years ago

A "More Set" is a set with at least one element, as analogue to Nat'

The Any type is the supertype of each and every type. The syntactic sugar is a dot.

E.g. const : a -> . -> b

Either a b = a | b