Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/Logical-operations/Haskell/logical-operations-1.hs
Normal file
9
Task/Logical-operations/Haskell/logical-operations-1.hs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
a = False
|
||||
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