Skip to content

Instantly share code, notes, and snippets.

@shigemk2
Created Jan 21, 2015
Embed
What would you like to do?
main = do
let listOfFuns = map (*) [0..]
print $ (listOfFuns !! 4) 5
print $ map (\f -> f 3) [(1*),(2*),(3*)]
print $ take 10 $ map (\f -> 3) listOfFuns
print $ take 10 $ map (\f -> f 3) listOfFuns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment