Skip to content

Instantly share code, notes, and snippets.

@ConnorBaker
Last active February 23, 2019 00:51
Show Gist options
  • Select an option

  • Save ConnorBaker/d5c7b5312a7c2ca54fdc5f64b79ba644 to your computer and use it in GitHub Desktop.

Select an option

Save ConnorBaker/d5c7b5312a7c2ca54fdc5f64b79ba644 to your computer and use it in GitHub Desktop.
Programming in Haskell, 2nd ed.: Chapter 5: Problem 7
list1 :: [(Int,Int)]
list1 = concat [[(x,y) | y <- [3,4]] | x <- [1,2]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment