Menu

#172 Function definition with 2 different identifiers

0.2.0
open
None
parser
2013-11-27
2013-11-27
No

The parser lets you use different names for a function when declaring it types and its body. For example:

f1: int -> int
f2(x) == x

The first name is the one that counts but this should throw out a parse error.

Discussion