mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-15 19:28:47 +00:00
Sync
This commit is contained in:
parent
3b94e30eaa
commit
9140263a3f
1 changed files with 0 additions and 9 deletions
|
|
@ -1,9 +0,0 @@
|
|||
fun print_list (l) {
|
||||
case l of
|
||||
`nil -> skip
|
||||
| `cons (n, t) -> write (n); print_list (t)
|
||||
esac
|
||||
}
|
||||
|
||||
x := `cons (4, `cons(3, `cons(2 , `cons (1, `cons (0, `cons (1, `cons (2, `cons (3, `cons (4, `cons (5, `nil))))))))));
|
||||
print_list (x)
|
||||
Loading…
Add table
Add a link
Reference in a new issue