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
#!/bin/sh -x -e | |
case "$ARCH" in | |
armv6-apple-darwin10|armv7-apple-darwin10|armv7s-apple-darwin10|arm64-apple-darwin10|i386-apple-darwin11) | |
;; | |
*) | |
cat <<EOF | |
Must set ARCH environment variable to | |
armv6-apple-darwin10 = All iOS devices |
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
module HaskellClosureTest where | |
strings = ["do", "re", "mi"] | |
main = do | |
let printFunctions = map (\s -> putStrLn s) strings | |
-- prints "do, re, mi" | |
mapM_ id printFunctions |