unison/unison-src/tests/imports2.u
2020-02-07 18:59:37 -08:00

13 lines
260 B
Plaintext

-- This gives the error:
-- I'm not sure what Optional.orElse means at Line 12
-- which is weird because it means Optional.orElse, which is defined here.
use Optional Some None orElse
Optional.orElse a b =
match a with
None -> b
a -> a
> orElse