00:34:10 <stepkut> mafs: I pushed a patch so that it builds again
00:34:19 <stepkut> but file uploading is busted
00:34:51 <stepkut> it still needs to be ported to formlets -> digestive-functors
00:35:14 <stepkut> among other things
00:36:05 <stepkut> the javascript code that enlarges images in-place is disabled. Should be ported to jmacro anyway.
00:36:40 <stepkut> some of the  function types are too general.. too many class contraints. Would be better to just pick a more concrete type.
01:15:41 <stepkut> ok. it is back to working now.
01:15:50 <stepkut> and the code is better cleaner
01:16:08 <stepkut> but in needs to be migrated, formlets -> digestive-functors and happstack-state -> acid-state.
01:17:15 <stepkut> its ~1200 lines including comments, imports and whitespace
01:17:19 <stepkut> that's not too bad
01:17:51 <stepkut> oops, ~1100
01:21:09 <stepkut> about 810 if you do not include comments, whitespace and imports
01:27:12 <stepkut> 786 now.
01:40:33 <stepkut> Lemmih: why are Query and Update instances of Monad but not Functor (or Applicative) ?
01:45:23 <stepkut> Lemmih: and, did you get my patch to add type alias support to makeAcidic?
02:07:57 <Lemmih> stepkut: I did. Been busy. Will apply.
02:08:23 <stepkut> cool
02:08:30 <Lemmih> stepkut: No real reason. Send a patch if you want it changed. (:
02:08:34 <stepkut> k
02:09:22 <stepkut> how do you feel about Update having a MonadReader instance? It is useful because it allows you to reuse Query events inside your Update events
02:10:09 <stepkut> for example. If I have some code that does 'ask' so it can work in a Query event, then I can not currently reuse that code in an Update event because only 'get' is available
02:10:27 <stepkut> happstack-state supported that behavior. Not sure if it was dropped on purpose.
02:12:51 <stepkut> ACTION is suprised it took him this long to notice the missing Functor instance
02:17:25 <stepkut> mafs: ok, updated to acid-state, and actually darcs added all the files you need to build it :p
02:18:04 <mafs> stepkut: thanks :)
02:18:33 <stepkut> it still depends on happstack-extra (which depends on happstack-state) and formlets
02:18:57 <stepkut> but I have other stuff to do right now :-/
02:19:07 <stepkut> I'll take patches to convert it to digestive-functors though :p
02:19:30 <stepkut> and switch from the Happstack.Data.Password to pwstore
02:19:37 <stepkut> and from HJScript to JMacro
02:21:27 <stepkut> you can play with it here until I get back from eating dinner and kill the server, http://www.n-heptane.com:8000/
12:18:54 <Lemmih> stepkut: There's 'runQuery'.
12:19:57 <Lemmih> I am still thinking it over whether to make Update an instance of MonadReader.
22:38:13 <HugoDaniel> what JS template language do you use ?
22:38:41 <stepkut> JMacro
22:41:19 <HugoDaniel> cool
22:41:20 <HugoDaniel> :)
22:41:21 <HugoDaniel> thanks
22:41:38 <stepkut> there is a tutorial on using jmacro with happstack, btwt
22:41:54 <stepkut> http://happstack.com/docs/crashcourse/Templates.html#jmacro
22:51:25 <HugoDaniel> :)