June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -4,3 +4,6 @@ b = True
|
|||
a_and_b = a && b
|
||||
a_or_b = a || b
|
||||
not_a = not a
|
||||
a_xor_b = a /= b
|
||||
a_nxor_b = a == b
|
||||
a_implies_b = a <= b -- sic!
|
||||
8
Task/Logical-operations/Haskell/logical-operations-2.hs
Normal file
8
Task/Logical-operations/Haskell/logical-operations-2.hs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
*Main > False && undefined
|
||||
False
|
||||
Prelude> undefined && False
|
||||
*** Exception: Prelude.undefined
|
||||
Prelude> True || undefined
|
||||
True
|
||||
Prelude> undefined || True
|
||||
*** Exception: Prelude.undefined
|
||||
8
Task/Logical-operations/Haskell/logical-operations-3.hs
Normal file
8
Task/Logical-operations/Haskell/logical-operations-3.hs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
Prelude> False <= undefined
|
||||
*** Exception: Prelude.undefined
|
||||
Prelude> undefined <= True
|
||||
*** Exception: Prelude.undefined
|
||||
Prelude> True < undefined
|
||||
*** Exception: Prelude.undefined
|
||||
Prelude> undefined < False
|
||||
*** Exception: Prelude.undefined
|
||||
Loading…
Add table
Add a link
Reference in a new issue