mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-27 09:08:48 +00:00
Added static call
This commit is contained in:
parent
2bfebc93f8
commit
e529ba1472
8 changed files with 134 additions and 70 deletions
5
regression/test067.expr
Normal file
5
regression/test067.expr
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
infixr "**" before "*" (f, g) {
|
||||
return fun (x) {return f (g (x))}
|
||||
}
|
||||
|
||||
write ((fun (x) {return x+2} ** fun (x) {return x+3})(7))
|
||||
Loading…
Add table
Add a link
Reference in a new issue