1
1
mirror of https://github.com/anoma/juvix.git synced 2024-11-30 14:13:27 +03:00
juvix/tests/Compilation/positive/test038.juvix
Łukasz Czajka 019579bba2
Fix case formatting (#2387)
* Closes #2361 
* Aligns `case` and `let`
2023-09-26 10:11:46 +02:00

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
};