This commit is contained in:
greg
2018-03-04 02:11:22 -08:00
parent 86d9e90e7c
commit f1f7f43e20
2 changed files with 53 additions and 2 deletions

View File

@@ -96,3 +96,10 @@ fn main() {
}
}
# lambdas
#
|x,y| { }() #is probably fine
const a = |x: Type, y|: RetType { <statementblock> }
const a: X -> Y -> Z = |x,y| { }