Skip to content

Instantly share code, notes, and snippets.

@tarnacious
Created November 24, 2011 22:50
Show Gist options
  • Select an option

  • Save tarnacious/1392468 to your computer and use it in GitHub Desktop.

Select an option

Save tarnacious/1392468 to your computer and use it in GitHub Desktop.
tdb
$ ghci
GHCi, version 6.12.1: http://www.haskell.org/ghc/ :? for help
Prelude> let make = (\a b -> take b (repeat a))
Prelude> ("abc",123) `make` 3
[("abc",123),("abc",123),("abc",123)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment