My tiny blog in rib - Rib

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Sridhar Ratnakumar

I'm developing a small stream-based blog in rib.

Sridhar Ratnakumar

And I realized how much YAML sucks for denoting non-trivial metadata

Sridhar Ratnakumar

I'm tempted to go with dhall. So that leads to ... having rib support this new markup.

Sridhar Ratnakumar

The new markup is basically a foo.dhall file with some field in it containing the actuall markdown text (which is to be parsed with another markup parser, mmark).

Sridhar Ratnakumar

@Joel McCracken So looks like both and you arrived at a common point where we need a particular feature done in rib sooner than later . Wanna pair on it? :slight_smile:

Joel McCracken

I would! But it will have to wait for a few days

Joel McCracken

no time right now, and the wifi is spotty where I am at

Joel McCracken

but that sounds great!

Joel McCracken

I did start working on it a tinnyyy bit

Sridhar Ratnakumar

cool. i'll go ahead with experimenting in a branch. when you are free, ping me.

Joel McCracken

but yeah, i actually really dislike yaml in general . I have considered going the dhall route instead of xml, but I just think the xml is likely to be better, but I might change my mind at some point!

Sridhar Ratnakumar

monadfix.com uses dhall, so i'm inspired to use it. also, there is dhall-haskell to map the dhall types to haskell: https://hackage.haskell.org/package/dhall-1.28.0/docs/Dhall.html

Sridhar Ratnakumar

the Q/A in the library section (https://monadfix.com/#library) for example use dhall