Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

learn you a haskell

View 1.hs
1 2
[x*2 | x <- [1..10]]
--> [2,4,6,8,10,12,14,16,18,20]
View 1.hs
1 2
(1..10).map{|i| i*2}
#=> [2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
View 1.hs
1
var tuple = new Tuple<int, string>(42, "meaning of life")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.