mirror of
https://github.com/ProgramSnail/Lama.git
synced 2026-01-03 20:48:15 +00:00
Eta-extension
This commit is contained in:
parent
ddc2121fcf
commit
f5f7f3ceb8
7 changed files with 43 additions and 24 deletions
1
regression/orig/test105.log
Normal file
1
regression/orig/test105.log
Normal file
|
|
@ -0,0 +1 @@
|
|||
> 3
|
||||
6
regression/test105.expr
Normal file
6
regression/test105.expr
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
fun f (x) {write (x)}
|
||||
|
||||
local g = eta f, n = read ();
|
||||
|
||||
|
||||
g (3)
|
||||
1
regression/test105.input
Normal file
1
regression/test105.input
Normal file
|
|
@ -0,0 +1 @@
|
|||
5
|
||||
Loading…
Add table
Add a link
Reference in a new issue