1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-12 14:28:08 +03:00
juvix/tests/Tree/negative/test003.jvt
Łukasz Czajka 7b0a11d570
JuvixTree negative evaluation tests (#2601)
* Adds negative tests for the JuvixTree evaluator
* Depends on #2600 
* Depends on #2599 
* Depends on #2598 
* Depends on #2597 
* Depends on #2596 
* Depends on #2595 
* Depends on #2594 
* Depends on #2590
2024-02-01 12:58:38 +00:00

14 lines
147 B
Plaintext

-- case on non-data
type list {
nil : list;
cons : * -> list -> list;
}
function main() : * {
case[list](3) {
nil: 0
cons: 1
}
}