yesodweb / yesod-scaffold

The Yesod scaffolding, with branches for different versions.
MIT License
76 stars 39 forks source link

replace ClassyPrelude with RIO in simple #194

Open cdornan opened 5 years ago

cdornan commented 5 years ago

CF: yesodweb/yesod#1602 CC: @snoyberg

This template takes simple and replaces classy-prelude-* with rio.

Some points:

I am out of time this weekend and I have not had time to build and instantiate the template. I will happily do so later in the week (Friday) if nobody has done so by then.

cdornan commented 5 years ago

I was also pleasantly surprised also by how easily it seemed to converge. So we press on...

cdornan commented 5 years ago

@snoyberg I have updated the branch based on your suggestion and a live experiment (in a closed-source context). See the notes on the commit. The TL;DR is that it looks to me like Yesod 1.7 will be needed to get a satisfactory template fit for general developers.

The experiment looks like it might be useful however — you are best placed to judge that — and I am happy to continue hacking for as long as you find it useful.

vaclavsvejcar commented 4 years ago

@cdornan @snoyberg Just discovered this PR and it's amazing idea, I'd love to have RIO-based Yesod project template, it would fit the ecosystem really nicely. Do you still plan to give it some time to push it forward?

cdornan commented 4 years ago

I love the idea, and I think Michael does too — it is just a matter of finding the time to get it done.

I was hoping we might be able cut some corners but that does not look feasible — we would need to convert the heart of Yesod.

The earliest I could look at it would be towards the end of the year but I am pretty sure I would need some help from Michael.