Daniel Smith

Results 141 comments of Daniel Smith

Is commonmark-hs prod ready? It looks like it's listed as experimental and not on hackage. We need to use a pure Haskell parser as it needs to work with GHCJS,...

That's fair. In that case would you be open to merging backwards compatible PR's such as the rendering stuff I was talking about? Changes like this one are not quite...

What flavor of markdown is cheapskate aiming to implement? I.e is there a spec that can be checked against so we know exactly when the parsing is deviating from the...

It seems like you could always add `Show` back when debugging right? I don't really see the advantage in having the constraint there when it's not being used.

The type we are using is a virtual dom implemented in GHCJS, so it's full of a ton of `IO` and `->`.

Yeah that's what we plan on doing for the time being. Always on the lookout for ways to make our code more clean though!

I just noticed `ToPlainText` which seems more problematic, as unlike `Show` it seems like it is actually used in a meaningful way in the parser, so a dummy instance will...

Would it be possible for the parser to keep track of the parsed plain text, to avoid needing to pull it back out of the result type?

Yeah for now that extension just won't work. I don't think it's an extension we were really planning on using, although keeping compatibility with `gfm` would be nice.

So it seems like the core function for this is the following: ``` case : forall as bs c. {map (-> c) as} -> ( -> c) -> -> c...