- Monday, August 6: Chapter 16 hosted by Charlottesville Haskell Book Reading Group in Charlottesville, va, USA
- Monday, August 6: Combinating - The Weekly Function hosted by Orange Combinator - Functional Programming In OC in Irvine, CA
- Tuesday, August 7: Techniques in Functional JavaScript hosted by NoFUN - New Orleans Functional Programming in New Orleans, USA
- Tuesday, August 7: [Lightning talks / Show and tell](https://www.meetup.
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
Using cabal to install quickcheck: | |
Make a directory to work in. | |
Inside the directory: “cabal sandbox init” | |
Then: “cabal install quickcheck” | |
You can open the GHCI repl in the sandbox: | |
"cabal repl" | |
And use normal commands like ":load filename.hs" |
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
module Game2048 where | |
import Graphics.Collage as Collage | |
import Keyboard | |
import Random | |
import Transform2D as TF | |
import List exposing (..) | |
import Color exposing (rgb, green, black, grey) | |
import Graphics.Element exposing (show, color, centered, Element) | |
import Graphics.Collage exposing (Form) |