Readme for phooey-0.2.1
Phooey is a library for functional user intefaces. It's currently built
on wxHaskell, but could probably be tweaked to run on top of other
imperative UI libraries. For a fuller description and link to
documentation, please see the Haskell wiki page:
http://haskell.org/haskellwiki/phooey
You can configure, build, and install all in the usual way with Cabal
commands.
runhaskell Setup.lhs configure
runhaskell Setup.lhs build
runhaskell Setup.lhs install
See src/Examples.hs for examples.
The dependencies are recorded in phooey.cabal. Besides base, you'll need
"mtl", "arrows" and the wxHaskell packages "wx" and "wxcore". I've tested
Phooey with wxHaskell built on wxWidgets-2.4.2 and on wxWidgets-2.6.3.
Both work, but wxWidgets-2.4.2 is much friendlier with ghci, as it lets
you run more than one wxHaskell app (Phooey app) per ghci session. With
wxWidgets-2.6.3, the ghci process will crash if you try to run two GUIs.
(True also for ghc-compiled code, but rarely problematic.) Since there is
no known fix for for this crashing problem, I recommend wxWidgets-2.4.2.
If you find that Phooey doesn't work with some version of base, mtl,
arrows, wx, or wxcore, please let me know, and I'll update phooey.cabal
accordingly.