0.7 with type-safe routes - Rib

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

Sridhar Ratnakumar

New release! https://github.com/srid/rib/releases/tag/0.7.0.0

Haskell library for writing your own static site generator - srid/rib
Joel McCracken

I started picking my site back up the last few nights; i may upgrade this evening.

Joel McCracken

Is it still do able to opt out of various things? I want to keep myself up to date, but personally am not (currently) interested in type safe routes

Sridhar Ratnakumar

Yea, Rib.Route is entirely optional (that was one of the goals behind the change). And you can use the low-level Rib.Shake.writeFileCached to write arbitrary filepath with arbitrary string.

Sridhar Ratnakumar

Re: optional/one of the goals. This is why:

Removed buildHtmlMulti, buildHtml, readSource functions and Source type.

Now you can just do thing <- myFunctionInActionMonad without having to call any rib function. And then do writeFileCached theFilePath $ renderTheThing thing.

Joel McCracken

I upgraded. No real issues. I am not using the routes system (currently), it mostly just doesn't fit with what I am doing.