mirror of
https://github.com/anoma/juvix.git
synced 2024-11-30 14:13:27 +03:00
019579bba2
* Closes #2361 * Aligns `case` and `let`
13 lines
191 B
Plaintext
13 lines
191 B
Plaintext
-- Simple case expression
|
|
module test038;
|
|
|
|
import Stdlib.Prelude open;
|
|
|
|
main : IO :=
|
|
printNatLn
|
|
case 1, 2 of {
|
|
| suc _, zero := 0
|
|
| suc _, suc x := x
|
|
| _ := 19
|
|
};
|