pietervdvn / Lang

Yet another programming language
1 stars 1 forks source link

Convert "~(Int)" to "... as Int" #41

Open pietervdvn opened 9 years ago

pietervdvn commented 9 years ago

Way neater syntax

pietervdvn commented 9 years ago

Also for

reduce [1,2,3] as Sum
reduce [1,2,3] as Product

(Note that you lose the information that this is a Nat)