Roldak / SFSL

Statically typed Functionnal Scripting Language
1 stars 0 forks source link

Allow omitting the types of a function's parameters when possible #101

Closed Roldak closed 8 years ago

Roldak commented 8 years ago

Example cases:

def f(g: int->int) => ...

f(x => 2 * x) // instead of (x: int) => 2 * x
f: int->int = x => 2 * x // instead of (x: int) => 2 * x

etc.