churf/sample-programs/basic-6.crf
2023-03-26 18:38:07 +02:00

10 lines
141 B
Text

data Bool () where {
True : Bool ()
False : Bool ()
};
main : Bool () -> Int ;
main b = case b of {
False => 0;
True => 0
}