mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-29 01:58:48 +00:00
Constructors capitalized
This commit is contained in:
parent
3bf36ae719
commit
4879a02753
18 changed files with 147 additions and 145 deletions
|
|
@ -1,15 +1,15 @@
|
|||
fun f (x) {
|
||||
case x of
|
||||
`a -> write (1)
|
||||
| `b -> write (2)
|
||||
| `c -> write (3)
|
||||
A -> write (1)
|
||||
| B -> write (2)
|
||||
| C -> write (3)
|
||||
| _ -> write (4)
|
||||
esac
|
||||
}
|
||||
|
||||
x := read ();
|
||||
|
||||
f (`a);
|
||||
f (`b);
|
||||
f (`c);
|
||||
f (`d)
|
||||
f (A);
|
||||
f (B);
|
||||
f (C);
|
||||
f (D)
|
||||
Loading…
Add table
Add a link
Reference in a new issue