[Haskell-cafe] Re: ANN: Dungeons of Wor - a largish FRP example and a fun game, all in one!

yairchu at gmail.com yairchu at gmail.com
Fri Feb 12 10:55:15 EST 2010


On Feb 12, 4:22 am, Simon Michael <si... at joyful.com> wrote:
> Exciting! But on a mac, I can't get the window to become focussed or accept input. Tips ?

Tips:
$ cabal install mkbndl
$ cd ~/.cabal/bin
$ mkbndl dow
$ open Dow.app

Ok, but you need to click the right control key to select stuff on the
menu, and you probably only have a left control key, so:

$ cd
$ tar xvzf ~/.cabal/packages/hackage.haskell.org/dow/0.1.0/
dow-0.1.0.tar.gz
$ cd dow-0.1.0/src
$ head -n 86 Main.hs > tmp
$ echo "  kt1 <- getKey ' '" >> tmp
$ tail -n 7 Main.hs >> tmp
$ cp tmp Main.hs
$ cd ..
$ cabal install
$ cd ~/.cabal/bin
$ mkbndl -f dow
$ open Dow.app

> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-C... at haskell.orghttp://www.haskell.org/mailman/listinfo/haskell-cafe


More information about the Haskell-Cafe mailing list