16 lines
269 B
Elm
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
|