RosettaCodeData/Task/Logical-operations/Elm/logical-operations.elm
2017-09-25 22:28:19 +02:00

16 lines
269 B
Elm

--Open cmd and elm-repl and directly functions can be created
--Creating Functions
t=True
f=False
opand a b= a && b
opor a b= a || b
opnot a= not a
--Using the created Functions
opand t f
opor t f
opnot f
--Output will be False, True and True of type Boolean!
--end