2014-02-25 12:51:39 +0000ircbrowse(~chrisdone@unaffiliated/chrisdone)
2014-02-25 12:58:11 +0000ircbrowse(~chrisdone@unaffiliated/chrisdone) ("Leaving")
2014-02-25 12:59:01 +0000ircbrowse(~chrisdone@unaffiliated/chrisdone)
2014-02-25 13:03:57 +0000 <ircbrowse> :-)
2014-02-25 13:05:18 +0000foxnorth(~chriscata@ool-44c705f3.dyn.optonline.net)
2014-02-25 13:14:25 +0000 Tasty test framework | http://documentup.com/feuerbach/tasty | Logs: http://ircbrowse.net/tasty
2014-02-25 13:17:14 +0000 <jdnavarro> great, we have logs now
2014-02-25 13:17:31 +0000 <Feuerbach> yep :)
2014-02-25 13:18:09 +0000 <jdnavarro> I'm working now on xml -> html
2014-02-25 13:18:23 +0000 <jdnavarro> what should be the type of `htmlRenderer`?
2014-02-25 13:18:39 +0000 <jdnavarro> I'm in doubt between `Tag` or `Html`
2014-02-25 13:19:09 +0000 <Feuerbach> Html, I think
2014-02-25 13:19:33 +0000 <jdnavarro> alright
2014-02-25 13:19:43 +0000 <jdnavarro> I was trying that first
2014-02-25 13:20:32 +0000 <jdnavarro> the `appendChild` function doesn't make in `blaze-html`, right?
2014-02-25 13:21:59 +0000 <jdnavarro> https://github.com/ocharles/tasty-ant-xml/blob/master/Test/Tasty/Runners/AntXML.hs#L146
2014-02-25 14:25:17 +0000 <jdnavarro> I'm almost done with an HTML report that I'm not that sure how it matches with bootstrap-tree
2014-02-25 14:25:48 +0000 <jdnavarro> it only remains how to implement `appendChild` with `blaze-html`
2014-02-25 14:26:34 +0000 <jdnavarro> but I can't find in `blaze-html` how to modify HTML
2014-02-25 14:27:09 +0000 <jdnavarro> looks like it's made only for HTML creation...
2014-02-25 14:27:11 +0000 <Feuerbach> can you think of a different way to do it?
2014-02-25 14:27:17 +0000 <Feuerbach> without appendChild?
2014-02-25 14:28:36 +0000jdnavarrois considering it
2014-02-25 14:31:03 +0000 <jdnavarro> I think, without appendChild, I would have to ditch the `Endo` stuff which is nice
2014-02-25 14:31:11 +0000 <jdnavarro> let me think more about it
2014-02-25 14:35:46 +0000 <Feuerbach> you can do it much nicer than Endo :-)
2014-02-25 14:37:07 +0000 <jdnavarro> :-)
2014-02-25 14:38:39 +0000 <jdnavarro> I assumed at first that the `contents` of `blaze-html` wouldn't work but, now looking at the code it might: http://hackage.haskell.org/package/blaze-markup-0.6.0.0/docs/src/Text-Blaze-Internal.html#contents
2014-02-25 14:39:01 +0000 <jdnavarro> I'll use it and check what it spits out
2014-02-25 14:41:55 +0000 <jdnavarro> It won't work, I can't convert `Html` to `Markup`
2014-02-25 14:42:12 +0000 <jdnavarro> I'll try to have everything in markup and render it to HTML only at the end
2014-02-25 14:43:23 +0000 <jdnavarro> that means the htmlRenderer should be Endo Markup
2014-02-25 14:49:19 +0000 <Feuerbach> let's not do it that way
2014-02-25 14:51:22 +0000 <Feuerbach> so you need a monoid to use foldTestTree
2014-02-25 14:51:22 +0000 <Feuerbach> what's the meaning of that monoid?
2014-02-25 14:51:23 +0000 <Feuerbach> it is the result of the whole fold
2014-02-25 14:51:23 +0000 <Feuerbach> our result is, as we agreed above, Html
2014-02-25 14:51:23 +0000 <Feuerbach> which is MarkupM ()
2014-02-25 14:51:24 +0000 <Feuerbach> can you think of a way to turn that into a monoid?
2014-02-25 14:57:26 +0000 <Feuerbach> Html is Markup
2014-02-25 14:57:29 +0000 <Feuerbach> it's a type synonym
2014-02-25 14:57:33 +0000 <Feuerbach> and you don't need Endo
2014-02-25 14:57:57 +0000jdnavarrois checking it now
2014-02-25 14:59:12 +0000 <jdnavarro> Markup is already a monoid...
2014-02-25 14:59:54 +0000 <jdnavarro> http://hackage.haskell.org/package/blaze-markup-0.6.0.0/docs/Text-Blaze-Internal.html#t:MarkupM
2014-02-25 15:00:09 +0000 <Feuerbach> ah, even better
2014-02-25 15:00:24 +0000 <Feuerbach> (if it wasn't, you would simply wrap it in Traversal)
2014-02-25 15:00:59 +0000 <jdnavarro> so I can use it at the end with `foldTestTree` right?
2014-02-25 15:01:54 +0000 <Feuerbach> right
2014-02-25 15:02:37 +0000 <jdnavarro> ok, I'll ditch `Endo` and make htmlRenderer directyly `Markup` and use it as a monoid
2014-02-25 15:03:17 +0000 <jdnavarro> I'm not familiar with the `reducers` package but I suspect `Traversal` can ditched then, too
2014-02-25 15:05:26 +0000 <jdnavarro> ok, it's type checking now without many modifications
2014-02-25 15:11:26 +0000 <jdnavarro> the rendered output is wrong...
2014-02-25 15:11:48 +0000 <jdnavarro> I'm going to push it, though, so that I can get feedback
2014-02-25 15:15:46 +0000 <Feuerbach> sure. you can create an issue and describe what you seeing and what you expect
2014-02-25 15:15:51 +0000 <Feuerbach> *see
2014-02-25 15:16:01 +0000jdnavarrodoing some rebasing before pushing
2014-02-25 15:16:23 +0000 <Feuerbach> although I have to leave now and will be able to take a look later today or tomorrow
2014-02-25 15:30:37 +0000 <jdnavarro> it's already pushed: https://github.com/feuerbach/tasty-html/commit/046aa623b8e918b732e7551ccc164bfab6139029
2014-02-25 15:30:48 +0000 <jdnavarro> I have to leave soon, too
2014-02-25 15:31:31 +0000 <jdnavarro> I'll try to figure it now quickly or otherwise I'll leave it for tomorrow
2014-02-25 15:34:59 +0000 <jdnavarro> damn it! I forgot the last rendering step...
2014-02-25 15:35:37 +0000 <jdnavarro> programming in a hurry is a waste of time, I never learn :)
2014-02-25 15:42:14 +0000Feuerbach(~feuerbach@unaffiliated/feuerbach) (Ping timeout: 264 seconds)
2014-02-25 16:21:36 +0000 <foxnorth> hey jdnavarro, you managed to start where i left off last night and got it to typecheck? can't wait to look later to see how you did it.
2014-02-25 16:24:26 +0000 <jdnavarro> foxnorth, now you can take over, I won't touch it again until tomorrow
2014-02-25 16:24:32 +0000 <jdnavarro> :)
2014-02-25 16:34:51 +0000jdnavarro(~danny@88.Red-88-19-154.staticIP.rima-tde.net) (Quit: Leaving)
2014-02-25 16:57:29 +0000foxnorth(~chriscata@ool-44c705f3.dyn.optonline.net) (Quit: foxnorth)
2014-02-25 17:12:50 +0000foxnorth(~chriscata@ool-44c705f3.dyn.optonline.net)
2014-02-25 18:53:00 +0000foxnorth(~chriscata@ool-44c705f3.dyn.optonline.net) (Quit: foxnorth)
2014-02-26 00:13:07 +0000Feuerbach(~feuerbach@unaffiliated/feuerbach)
2014-02-26 01:00:57 +0000foxnorth(~chriscata@ool-44c705f3.dyn.optonline.net)
2014-02-26 01:15:44 +0000Feuerbach(~feuerbach@unaffiliated/feuerbach) (Ping timeout: 246 seconds)
2014-02-26 02:42:09 +0000foxnorth(~chriscata@ool-44c705f3.dyn.optonline.net) (Quit: foxnorth)
2014-02-26 02:48:00 +0000foxnorth(~chriscata@ool-44c705f3.dyn.optonline.net)
2014-02-26 03:36:07 +0000foxnorth(~chriscata@ool-44c705f3.dyn.optonline.net) (Quit: foxnorth)
2014-02-26 03:42:54 +0000shelf(~bnc@unaffiliated/shelf)
2014-02-26 07:31:56 +0000Feuerbach(~feuerbach@80.90.232.161)
2014-02-26 07:31:56 +0000Feuerbach(~feuerbach@80.90.232.161) (Changing host)
2014-02-26 07:31:56 +0000Feuerbach(~feuerbach@unaffiliated/feuerbach)
2014-02-26 07:51:18 +0000jdnavarro(~danny@88.Red-88-19-154.staticIP.rima-tde.net)
2014-02-26 07:54:29 +0000 <jdnavarro> morning
2014-02-26 08:06:18 +0000jdnavarro(~danny@88.Red-88-19-154.staticIP.rima-tde.net) ("Leaving")
2014-02-26 08:06:33 +0000jdnavarro(~danny@88.Red-88-19-154.staticIP.rima-tde.net)
2014-02-26 08:10:36 +0000 <Feuerbach> hey
2014-02-26 10:55:29 +0000jdnavarro(~danny@88.Red-88-19-154.staticIP.rima-tde.net) (Ping timeout: 272 seconds)
2014-02-26 11:34:32 +0000Feuerbach(~feuerbach@unaffiliated/feuerbach) (Ping timeout: 255 seconds)
2014-02-26 12:00:48 +0000Feuerbach(~feuerbach@unaffiliated/feuerbach)
2014-02-26 12:10:45 +0000jdnavarro(~danny@88.Red-88-19-154.staticIP.rima-tde.net)
2014-02-26 12:45:35 +0000Feuerbach(~feuerbach@unaffiliated/feuerbach) (Ping timeout: 246 seconds)
2014-02-26 13:02:24 +0000foxnorth(~chriscata@ool-44c705f3.dyn.optonline.net)
2014-02-26 13:14:56 +0000 <foxnorth> hi, i did some playing around last night with the html output starting from https://github.com/feuerbach/tasty-html/commit/d409229b57b8e3aab053b9a3e4d7f6f6293bee55 trying to get the LIs nested properly but didn't make any headway. will try again tonight, unless someone gets to it first.
2014-02-26 13:23:02 +0000Feuerbach(~feuerbach@80.90.232.161)
2014-02-26 13:23:02 +0000Feuerbach(~feuerbach@80.90.232.161) (Changing host)
2014-02-26 13:23:02 +0000Feuerbach(~feuerbach@unaffiliated/feuerbach)
2014-02-26 13:24:58 +0000shelf(~bnc@unaffiliated/shelf) (Ping timeout: 252 seconds)
2014-02-26 13:27:12 +0000Feuerbach(~feuerbach@unaffiliated/feuerbach) (Ping timeout: 244 seconds)
2014-02-26 13:31:14 +0000shelf(~bnc@unaffiliated/shelf)
2014-02-26 13:36:54 +0000 <foxnorth> also @jdnavarro thanks for cleaning up my messy in progress commits and going forward with the html structure.