This file contains hidden or 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
import Text (..) | |
import String (..) | |
import Color (..) | |
import Graphics.Element (..) | |
import Graphics.Collage (..) | |
greet name age = | |
plainText ("Hello, " ++ name ++ "! You don't look " ++ toString(age) ++ "!") | |
add x y = x + y |
This file contains hidden or 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
import List (..) | |
import Graphics.Element (..) | |
import Text (..) | |
import Html (..) | |
import Html.Attributes (..) | |
import Html.Events (..) | |
todos1 = ["A", "B", "C"] | |
todos2 = ["D", "E", "F"] |
This file contains hidden or 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 | |
# | |
# Generates an edge-Rails application. | |
if [ $# -eq 0 ] | |
then | |
echo "usage: rails_edge <name>" | |
exit 1 | |
fi |
This file contains hidden or 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
https://hachyderm.io/@mikeclark |
OlderNewer