format: md1
Some flashcards on Haskell syntax (work-in-progress).
How do you load the haskell file foo.hs
from ghci
?
%
> :load foo.hs
or
> :l foo.hs
Call the function foo
in an infix fashion.
%
> 1 `foo` 2
Concatenate two arrays.
%
> [1,2] ++ [3,4]