--- Log opened Fri Aug 28 00:00:18 2009
11:25 < ezyang> Hello all; I'm attempting to cabal install happs-tutorial, but I'm getting a compile error.
11:26 < mightybyte> What version of ghc and happstack do you have?  What version of happs-tutorial is being installed?
11:27 < ezyang> ghc 6.10.4
11:27 < mightybyte> Have you done a cabal update recently?
11:27 < ezyang> not sure how to check happstack version
11:27 < stepcut> mightbyte: checkM in formlets is broken
11:27 < ezyang> relatively recently, but I can do so again
11:27 < mightybyte> ghc-pkg list
11:28 < stepcut> mightybyte: probably due to this patch, http://github.com/chriseidhof/formlets/commit/3f16eff921ca18a9afe4dba50dd369679d2ee2a1
11:28 < ezyang> happstack-0.3.2
11:28 < ezyang> happstack-data-0.3.3,     happstack-ixset-0.3.2, happstack-server-0.3.3,     happstack-state-0.3.4, happstack-util-0.3.2
11:29 < mightybyte> stepcut: Ok, I'll take a look at it.
11:30 < stepcut> mightybyte: did you see the thread on haskell-cafe?
11:30 < mightybyte> stepcut: symptoms?
11:30 < mightybyte> stepcut: Which one?
11:30 < stepcut> mightybyte: one momen
11:30 < ezyang> It looks like those are the most recent versions?
11:30 < mightybyte> ezyang: Yeah, they look reasonable.  What error are you getting?
11:30 < stepcut> mightybyte: http://www.haskell.org/pipermail/haskell-cafe/2009-August/065773.html
11:31 < stepcut> mightybyte: the third message includes a runnable example
11:31 < mightybyte> stepcut: Ok
11:31 < ezyang> while building happstack-helpers: http://pastebin.com/m357a61e7
11:31 < stepcut> mightybyte: in that example, if you edit the 'register' function and change, user to pure_user it works
11:33 < mightybyte> ezyang: Hmm, strange error.  You might want to check with wchogg about it.  He maintains the tutorial.
11:34 < ezyang> @seen wchogg
11:34 < mightybyte> ezyang: I don't personally use happstack-helpers
11:34 < ezyang> haha, no bot here
11:34 < mightybyte> Yeah
11:35 < ezyang> Ok. Any suggestions for getting started with Happstack without the tutorial, then?
11:35 < mightybyte> ezyang: Check out my introductory articles at http://softwaresimply.blogspot.com
11:36 < mightybyte> Some of them are a little old, but the main concepts still apply.
11:36 < ezyang> ok
11:39 < ezyang> Huh. Could not find module `HAppS.Server'
11:39 < mightybyte> Yeah, that's what I meant by old.
11:39 < ezyang> ah
11:40 < mightybyte> So I'd recommend just reading through the posts in chronological order.
11:40 < ezyang> I guess what I'm really interested in is a small source file that works and that I can play around with as a starting point
11:40 < ezyang> will do
11:40 < mightybyte> Then, later on you'll get to some code that should work.
11:41 < mightybyte> In later posts I talk about the happstack-auth package that I created.  That has currently working code.
11:41 < mightybyte> And it also has some demo code that is similar to what you want.
11:41 < mightybyte> http://github.com/mightybyte/happstack-auth/tree/4f46e8071610417e43e186dec190f84e921114ee/demo
11:42 < ezyang> What is methodSP?
11:42 < mightybyte> It guards a response creation for a certain http request type
11:43 < ezyang> savvy
11:43 < mightybyte> methodSP POST myPage -- Only executes myPage if the user is making a POST request.
16:22 < SubStack> tutorial.happstack.com seems to be missing a few steps between 7 and 8
16:23 < SubStack> completely had it up to that point
16:34 < SubStack> happs tutorials and references could certainly use some illustrations
16:35 < SubStack> I will likely make some after I figure all of this out well enough
--- Log closed Sat Aug 29 00:00:23 2009