Here you can find some examples to implement the usage of cabal-macosx for Haskell.
-
gtkHello - basic gtk2hs example, demonstrating ordinary usage.
-
wxHello - basic wx example, demonstrating ordinary usage.
-
wxHello-cpp - same, but with wxHello.cabal and Setup.hs modified so that the dependency on cabal-macosx only exists on OSX.
The application icon used for these examples is taken from the "Mechnoid Icons" iconset by "Flax Creations" at http://pixelgirlpresents.com/node/6738 (with a little help from http://www.macosxhints.com/article.php?story=20070318161305596 ).