Created
November 23, 2015 12:21
-
-
Save chuck0523/584f7ba60f87a9fdc56d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main = do | |
let ls1 = [1..4] | |
print ls1 | |
let ls2 = [1,3..8] | |
print ls2 | |
let ls3 = ["foo", "bar", "baz"] | |
print ls3 | |
print (ls3 !! 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment