mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-05 22:38:44 +00:00
Merge branch 'post-historic' of https://github.com/dboulytchev/compiler-workout-private into post-historic
This commit is contained in:
commit
686e3ff9d7
5 changed files with 18 additions and 5 deletions
2
regression/orig/test055.log
Normal file
2
regression/orig/test055.log
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
0
|
||||
3
|
||||
8
regression/test055.expr
Normal file
8
regression/test055.expr
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
fun len(l) {
|
||||
case l of
|
||||
_ : xs -> return len(xs) + 1
|
||||
|{} -> return 0
|
||||
esac
|
||||
}
|
||||
write(len({}));
|
||||
write(len({1, 2, 3}))
|
||||
0
regression/test055.input
Normal file
0
regression/test055.input
Normal file
Loading…
Add table
Add a link
Reference in a new issue