mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-23 08:18:04 +03:00
13 lines
260 B
Plaintext
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
|