Fix prelude

This commit is contained in:
greg 2019-10-21 03:26:38 -07:00
parent f7357d4498
commit 3906210db8
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ type Ord = LT | EQ | GT
fn map(input: Option<T>, func: Func): Option<T> {
if input {
is Option::Some(x) -> Option::Some(func(x)),
is Option::None -> Option::None,
is Option::Some(x) then Option::Some(func(x)),
is Option::None then Option::None,
}
}