2014-02-26 16:05:39 +0000 <jdnavarro> and `blaze-html` doesn't seem to be meant to use for modifying elements, just creation
2014-02-26 16:05:45 +0000 <Feuerbach> why would you want that? it doesn't sound right
2014-02-26 16:06:02 +0000 <Feuerbach> mappend is used by foldTestTree to combine elements on the same level
2014-02-26 16:06:14 +0000 <Feuerbach> why do you want them to be parents/children?
2014-02-26 16:06:59 +0000 <jdnavarro> the issue is in `runGroup`
2014-02-26 16:07:24 +0000 <jdnavarro> concretely in the `grouped` let binding
2014-02-26 16:07:42 +0000 <Feuerbach> let me see..
2014-02-26 16:08:23 +0000 <jdnavarro> if you have a sample output you can see what I mean
2014-02-26 16:08:45 +0000 <Feuerbach> ok, so why are you using mappend in runGroup?
2014-02-26 16:08:59 +0000 <jdnavarro> yeah, that's wrong
2014-02-26 16:09:06 +0000 <jdnavarro> what should I use?
2014-02-26 16:09:36 +0000 <Feuerbach> you want to put soFar into ul, right?
2014-02-26 16:09:53 +0000 <Feuerbach> currently you seem to put just the groupName inside it
2014-02-26 16:10:01 +0000foxnorth(~chriscata@ool-44c705f3.dyn.optonline.net) (Quit: foxnorth)
2014-02-26 16:10:17 +0000 <Feuerbach> H.ul is a function that takes its inner contents as an argument
2014-02-26 16:10:37 +0000 <jdnavarro> oh
2014-02-26 16:10:41 +0000 <Feuerbach> so that should be H.ul ! HA.class_ "testsuite" $ <something involving soFar>
2014-02-26 16:10:56 +0000 <jdnavarro> damn it, that's right
2014-02-26 16:10:58 +0000 <jdnavarro> let me try
2014-02-26 16:12:07 +0000 <Feuerbach> the monoid instance is crucial to combine together <li>s produced by the individual tests or groups on the same level. It is used implicitly by foldTesTree in those cases. You don't need to use the Monoid instance where it's not apropriate
2014-02-26 16:12:31 +0000 <Feuerbach> appropriate
2014-02-26 16:12:38 +0000 <jdnavarro> right
2014-02-26 16:13:14 +0000 <jdnavarro> for nesting is just function application, for appending elements at the same level the monoid
2014-02-26 16:14:56 +0000 <Feuerbach> if you need to append it's more idiomatic to use the Monad instance
2014-02-26 16:15:08 +0000 <Feuerbach> e.g. do { H.p "foo"; H.p "bar"; }
2014-02-26 16:15:41 +0000 <Feuerbach> it's just that foldTestTree needs the Monoid instance (and MarkupM already provides it, fortunately)
2014-02-26 16:22:02 +0000 <jdnavarro> now it's nesting properly
2014-02-26 16:22:18 +0000 <jdnavarro> thanks!
2014-02-26 16:22:41 +0000 <Feuerbach> np :)
2014-02-26 16:23:01 +0000 <jdnavarro> I'm starting to get the handle now on `blaze-html`
2014-02-26 16:26:57 +0000 <jdnavarro> have to leave now, but hopefully I might be able to spend some more time later
2014-02-26 16:27:06 +0000 <jdnavarro> I already pushed the changes
2014-02-26 16:34:55 +0000foxnorth(~chriscata@ool-44c705f3.dyn.optonline.net)
2014-02-26 16:48:15 +0000jdnavarro(~danny@88.Red-88-19-154.staticIP.rima-tde.net) (Ping timeout: 272 seconds)
2014-02-26 18:28:02 +0000Feuerbach(~feuerbach@unaffiliated/feuerbach) (Read error: Connection reset by peer)