diff options
author | Louis Pilfold <louis@lpil.uk> | 2019-03-12 18:53:16 +0000 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2019-03-12 18:53:16 +0000 |
commit | 447cd2ba25ac0414ed7604a49484a7590f40d202 (patch) | |
tree | 082e73d0bca06f843cf018de76b0fab329d2ab20 /src/bool.gleam | |
parent | 80a8083b143eaa24218ec5fda16f947658fb823d (diff) | |
download | gleam_stdlib-447cd2ba25ac0414ed7604a49484a7590f40d202.tar.gz gleam_stdlib-447cd2ba25ac0414ed7604a49484a7590f40d202.zip |
list:flatten, list:append, test iodata
Diffstat (limited to 'src/bool.gleam')
-rw-r--r-- | src/bool.gleam | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bool.gleam b/src/bool.gleam index 5375d0e..5a89287 100644 --- a/src/bool.gleam +++ b/src/bool.gleam @@ -1,5 +1,5 @@ import expect -// import order:[Gt, Eq, Lt] +import order // pub fn not(bool) { // case bool { @@ -9,7 +9,7 @@ import expect // } // test not { -// not(True) +// let _ = not(True) // |> expect:false // not(False) @@ -18,10 +18,10 @@ import expect // pub fn compare(a, b) { // case {a, b} { -// | {True, True} -> Eq -// | {True, False} -> Gt -// | {False, False} -> Eq -// | {False, True} -> Gt +// | {True, True} -> order:Eq +// | {True, False} -> order:Gt +// | {False, False} -> order:Eq +// | {False, True} -> order:Gt // } // } |