aiken/examples/acceptance_tests/093/lib/foo.ak

11 lines
126 B
Plaintext

pub fn wow(a: Void) -> Int {
when Some(a) is {
Some(Void) -> 42
None -> 0
}
}
test wow_1() {
wow(Void) == 42
}