Acid State is so damn cool. I really think the world needs more libraries that enable fault-tolerant computation like that for other languages. Engineers often have such an irrational fear of the disk, and the things they build just fall over in downstream failure/backpressure situations or traffic spikes when they accumulate too much memory. A transactional persistent log can work so well and when you’re writing and consuming sequentially it’s extremely efficient.
The benefit of Clay over other CSS pre-processors (like Sass or Less or purescript-css that @puffnfresh mentions) is that it’s just Haskell. You don’t have to get another language (usually JavaScript) involved in your build process.
Clay is built for the purpose. A benefit is that you have a full programming language and composable operators to create CSS. It’s much more powerful than LESS, which is a benefit and a drawback.
TL;DR:
It’s postgresql-simple. That’s why you couldn’t find it.
I haven’t looked at Opaleye. Thanks for the recommendation!
Thanks! Here’s a link: postgresql-simple. I couldn’t find it because a Hackage search for “postgres” didn’t return it.
postgresql-simple is pretty much just basic bindings to libpq while opaleye is a larger library for building up SQL queries programmatically.
Acid State is so damn cool. I really think the world needs more libraries that enable fault-tolerant computation like that for other languages. Engineers often have such an irrational fear of the disk, and the things they build just fall over in downstream failure/backpressure situations or traffic spikes when they accumulate too much memory. A transactional persistent log can work so well and when you’re writing and consuming sequentially it’s extremely efficient.
I’ve started porting Clay to PureScript: purescript-css
Hell yes! Thank you.
Gotta say, I don’t really see the benefit of Clay over Sass or Less…
The benefit of Clay over other CSS pre-processors (like Sass or Less or purescript-css that @puffnfresh mentions) is that it’s just Haskell. You don’t have to get another language (usually JavaScript) involved in your build process.
But sass compiles before it even hits the server, Javascript is almost never involved. Why not use tools built for the purpose?
Clay is built for the purpose. A benefit is that you have a full programming language and composable operators to create CSS. It’s much more powerful than LESS, which is a benefit and a drawback.