RosettaCodeData/Task/Logical-operations/Elm/logical-operations.elm
2023-07-01 13:44:08 -04: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