Closed pietervdvn closed 9 years ago
What would be the best syntax for lists?
[a,b:as] = a + b + f as [a:b:as] = a + b + f as
In combination with tuples
[(a,b):abs] [a,b:c,d:abs]
a:as [a:as] [a,b:as] [a:b:as] [a,b] ++ as
[a,b:c,d:abs]
We will stick with haskell llike syntax
Thx to @Iasoon
What would be the best syntax for lists?
Patterns:
In combination with tuples
Right hand side
In combination with tuples