Experimental IRC log happs-2007-03-19

Available formats: content-negotiated html turtle (see SIOC for the vocabulary)

Back to channel and daily index: content-negotiated html turtle

These logs are provided as an experiment in indexing discussions using IRCHub.py, Irc2RDF.hs, and SIOC.

15:55:08<spacecowboy_>+hey all-- im having trouble with the plain_xml example in the happs tutorial. I can't get it to compile
16:08:34<alexj>+what is the error message?
16:09:00<spacecowboy_>+first is that plain is not in scope
16:09:14<spacecowboy_>+once i remove the line that uses plain, then i get this one:
16:09:32<spacecowboy_>+xml.hs:30:27:
16:09:32<spacecowboy_>+ Couldn't match expected type `m (Either Request res)'
16:09:32<spacecowboy_>+ against inferred type `Result'
16:09:32<spacecowboy_>+ In the first argument of `ok', namely `plain_xml'
16:09:32<spacecowboy_>+ In the second argument of `($)', namely
16:09:33<spacecowboy_>+ `ok plain_xml examplePostVal'
16:09:35<spacecowboy_>+ In the expression: (h "/val" POST) $ (ok plain_xml examplePostVal)
16:28:46<alexj>+ok the tutorial isn't current.
16:28:55<alexj>+spacecowboy: the the tutorial isn't current.
16:29:12<spacecowboy_>+ah :)
16:29:16<shapr>+Oh, what's broken in the tutorial?
16:29:27<cdsmith>-Funny, I just popped in to ask about the tutorial and errors I'm getting with it.
16:29:28<spacecowboy_>+thats good news, i guess :P
16:29:39<spacecowboy_>+the xml example
16:29:48<spacecowboy_>+http://haskell.org/haskellwiki/HAppS_tutorial#Haskell_to_XML_with_ToElement.2C_XML_to_Haskell_with_FromMessage
16:29:50<lambdabot>+Title: HAppS tutorial - HaskellWiki, http://tinyurl.com/2dwhdb
16:33:06<spacecowboy_>+and also, while i'm here, the 'not in scope: plain' error also prevents the hello.hs example from the tarball from compiling
16:34:05<shapr>+Ah right, example files should probably be automatically extracted from the tutorial.
16:37:36<spacecowboy_>+so any ideas on what i need to do to get the plain_xml stuff working?
17:24:03<shapr>+What error are you getting?
17:24:18<shapr>+ACTION tries to build that example..
17:28:26<shapr>+Hm, Lemmih and I had this problem where it complained about not having a Binary instance...
17:35:57<spacecowboy_>+the error i'm getting isnt related to binary-- it seems that plain_xml doesnt have the right return type to compose with ok
17:36:55<spacecowboy_>+i can repro the error in ghci:
17:36:56<spacecowboy_>+Prelude HAppS> :t ok plain_xml
17:36:56<spacecowboy_>+<interactive>:1:3:
17:36:56<spacecowboy_>+ Couldn't match expected type `m (Either Request res)'
17:36:56<spacecowboy_>+ against inferred type `Result'
17:36:56<spacecowboy_>+ In the first argument of `ok', namely `plain_xml'

Back to channel and daily index: content-negotiated html turtle