Experimental IRC log happs-2007-08-20

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.

07:21:51<fishkandy>can anyone explain this line?: $(inferStartState ''MyState) -- boilerplate that will eventually be SYB
07:39:05<sorear>Yes.
07:39:52<sorear>It is a declaration for Template Haskell, a GHC extension which gives you almost all of the power of Lisp macros with exactly none of the elegance.
07:48:57<fishkandy>uh, yeah i got that bit
07:49:16<fishkandy>so i'm assuming it sets the application's initial state to something like mempty for the given type?
07:49:26<fishkandy>s/assuming/guessing
07:50:10<fishkandy>i'm trying to put together a simple server that uses an IxSet as the saved state
08:01:27<fishkandy>(and yes the TH stuff does feel kind of ugly, undocumented, and fragile -- leading to lots of spurious and inexplicable type errors)
20:37:38<sjanssen>where do I send patches for generic-xml?
20:48:50<shapr>Are you using the generic-xml that's now in HAppS-Data?
20:48:58<shapr>Mail them to alex@happs.org
20:49:12<shapr>I'm interested, what are you doing?
20:51:25<sjanssen>just a minor error in the build-depends
21:15:26<Igloo>What error, OOI?
21:18:15<sjanssen>it doesn't build with newer versions of HaXml, so "HaXml >= 1.13 && < 1.14"
21:26:27<Igloo>Euch, OK, thanks
21:39:31<sorear>IMO we should mandate major.minor.patchlevel versions and Cabal should refuse to satisfy HaXml 113.0.0 with 114.0.0
22:00:44<sjanssen>seems heavy handed to me
22:15:26<sorear>As opposed to our current sytem, which is pathetically optimistic.
22:18:24<shapr>What about HaXml = 1.13 meaning that it can be 1.13.x specifically?
22:18:44<shapr>Then you could say something like HaXml = 1 and you'd be sure you don't use 2.0 or 0.9
22:26:14<sorear>shapr: That still forces users to know about the version structure of HaXml.
23:09:03<nburlett>hey all
23:09:27<nburlett>I'm having some trouble with the tutorial
23:09:51<Saizan>like?
23:10:49<nburlett>hm, I seem to have closed the window, one sec
23:12:03<nburlett>so, for example 3.3.3
23:12:17<nburlett> Couldn't match expected type `m (Either Request res)'
23:12:17<nburlett> against inferred type `Result'
23:12:42<nburlett>there's a note that the code doesn't work with 0.8.8 stable
23:12:50<nburlett>and says "code like" ...
23:12:54<nburlett>but I can't make that work either
23:13:29<Saizan>are you using the 0.8.8 tarball?
23:13:47<nburlett>I believe I pulled from d arcs
23:14:12<nburlett>no, guess it was the tarball
23:16:26<nburlett>should I be using the darcs latest?
23:16:35<Saizan>uhm, on which expression do you get that error?
23:16:47<nburlett> In the first argument of `ok', namely `plain_xml'
23:16:47<nburlett> In the second argument of `($)', namely
23:16:47<nburlett> `ok plain_xml examplePostVal'
23:16:47<nburlett> In the expression: (h "/val" POST) $ (ok plain_xml examplePostVal)
23:18:30<Saizan>removing plain_xml?
23:18:59<nburlett>that gives all kinds of errors
23:20:26<Saizan>nice, well the tutorial is lazily updated ofr latest darcs, but ok plain_xml doesn't typecheck here either
23:21:42<nburlett>hm
23:21:45<Saizan>plus there's going to be an api-changing release soon..
23:22:14<nburlett>how soon?
23:23:00<nburlett>I've been wanting to learn happs, and possibly use it for a project
23:23:30<Saizan>that's something i'd also like to know, it has been rescheduled for the last couple of weeks
23:23:49<nburlett>ah
23:24:00<nburlett>so maybe I should wait to learn
23:25:14<Saizan>maybe yes, however what's the type of ok there?
23:25:51<nburlett>ok :: (ToMessage res, Monad m, Monad im) =>
23:25:51<nburlett>(a -> b -> m (Either Request res))
23:25:51<nburlett>-> a
23:25:51<nburlett>-> b
23:25:51<nburlett>-> m (Either Request (im Result))
23:27:48<Saizan>that looks like ok examplePostVal should work
23:28:50<nburlett>it doesn't
23:29:10<Saizan>which error?
23:29:10<nburlett>I can hpaste the error
23:29:13<Saizan>k
23:30:04<nburlett>http://hpaste.org/2355
23:31:55<Saizan>heh lots of errors :)
23:32:07<nburlett>oh yeah
23:34:16<nburlett>I really don't know what I'm doing (^_^)
23:36:24<Saizan>i'd wait for the release at this point..
23:36:29<nburlett>fun
23:36:34<nburlett>what's changing?
23:38:39<Saizan>http://www.happs.org/HAppS/HAppS-Data/README <-- this is what i know
23:39:42<Saizan>http://www.happs.org/HAppS/HAppS-Data is the first public darcs repo with the new code
23:40:20<Saizan>a part of
23:44:39<nburlett>the tutorial will be updated with the next release?
23:46:20<Saizan>uhm i hope so, at least we'll have a release to refer to, that's not too old
23:47:29<nburlett>excellent
23:47:34<nburlett>0.9?
23:55:05<Saizan>i think so
23:56:46<nburlett>cool
23:56:56<nburlett>thanks for the suggestion

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