Re: [Haskell-cafe] Real World HAppS: Cabalized, Self-Demoing HAppS Tutorial (Version 3)
The latest darcs version of what? I don't remember putting that into my tutorial... t. 2008/9/17 Marc Weber <[EMAIL PROTECTED]>: > On Tue, Sep 16, 2008 at 11:32:04PM +0200, Martin Huschenbett wrote: >> Hi all, >> >> taking a look at this tutorial under Windows Vista I ran into a problem: > > You should get the latest darcs version which contains the conditional > cabal flag: > if !os(windows) > Build-Depends:unix > cpp-options: -DUNIX > > Marc > ___ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe > ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Real World HAppS: Cabalized, Self-Demoing HAppS Tutorial (Version 3)
Hi, I got your tutorial working. But when running it from ghci an exception raises: *** Exception: _local/_state\current-00: openBinaryFile: invalid argument (Invalid argument) But I found a way to fix this: replace runserver 5001 by withProgName "happs-tutorial" $ runserver 5001 Regards, Martin. Thomas Hartman schrieb: I pushed a new version of happs-tutorial to the online demo at http://happstutorial.com:5001 This is also on hackage: cabal install happs-tutorial. (now version 3.) or darcs get http://code.haskell.org/happs-tutorial for the latest The demo/tutorial has the same basic functionality as the last release -- just a login form essentially -- but a lot more bling now. Like menu link items that change colors when the page is clicked. Also the login form that gives sane error messages. The focus for this release was on explaining how I used StringTemplate with HAppS. Hopefully in version 4 I'll finally get to State and Macid! And hopefully some functionality that actually does something beyond just showing what users have created logins :) Thomas ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Real World HAppS: Cabalized, Self-Demoing HAppS Tutorial (Version 3)
On Tue, Sep 16, 2008 at 11:32:04PM +0200, Martin Huschenbett wrote: > Hi all, > > taking a look at this tutorial under Windows Vista I ran into a problem: You should get the latest darcs version which contains the conditional cabal flag: if !os(windows) Build-Depends:unix cpp-options: -DUNIX Marc ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Real World HAppS: Cabalized, Self-Demoing HAppS Tutorial (Version 3)
Hi all, taking a look at this tutorial under Windows Vista I ran into a problem: happs-tutorial depends on HAppS-state which again depends on the unix package which doesn't work under windows. So my question is: is there another way to compile HAppS-State and happs-tutorial on windows? Regards, Martin. Thomas Hartman schrieb: I pushed a new version of happs-tutorial to the online demo at http://happstutorial.com:5001 This is also on hackage: cabal install happs-tutorial. (now version 3.) or darcs get http://code.haskell.org/happs-tutorial for the latest The demo/tutorial has the same basic functionality as the last release -- just a login form essentially -- but a lot more bling now. Like menu link items that change colors when the page is clicked. Also the login form that gives sane error messages. The focus for this release was on explaining how I used StringTemplate with HAppS. Hopefully in version 4 I'll finally get to State and Macid! And hopefully some functionality that actually does something beyond just showing what users have created logins :) Thomas ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe