Skip to content

Instantly share code, notes, and snippets.

@cellularmitosis
Last active September 15, 2020 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cellularmitosis/0f8fa92144f4821c113b143e7a80af00 to your computer and use it in GitHub Desktop.
Save cellularmitosis/0f8fa92144f4821c113b143e7a80af00 to your computer and use it in GitHub Desktop.

format: md1

Haskell Syntax

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment