Skip to content

Instantly share code, notes, and snippets.

@beakr
Created July 23, 2013 19:54
Show Gist options
  • Save beakr/6065591 to your computer and use it in GitHub Desktop.
Save beakr/6065591 to your computer and use it in GitHub Desktop.
-- Wat.
-- No clue if this works, just writing Haskell.
f x y = x + y -- Random function
let resultOfF = f 2 2 -- 4
let someList = [1, 2, 3]
let someListWithOtherThing = resultOfF:someList
addLists x y = x ++ y
addLists someListWithOtherThing [1, 2, 3]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment