Closed Feliix42 closed 5 years ago
Running ohuac build --dump-stage "alang-resolved" if_envarcs.ohuac
outputs:
let ctrl = $0 in
let inp = $1 in
ohua.lang/if ctrl (λ _ -> conditionals.iftest/modify_string_positive inp)
(λ _ -> conditionals.iftest/modify_string_negative inp)
Jo, that's your Non-exhaustive pattern
though @sertel 😛
(Just kidding, will have a look at it next week.)
I know ;)
Thanks!
When trying to compile the following algorithm:
ohuac
emits the following error message, originating from this file:For reference: I am using the latest
ohuac
version, modified to use the latestohua-core
version.