r/purescript • u/_alpacaaa • Jan 06 '18
Beginning Purescript: Dropping effect rows
https://alpacaaa.net/blog/post/purescript-drop-effect-rows/
12
Upvotes
r/purescript • u/_alpacaaa • Jan 06 '18
View all comments
Show parent comment
2
u/natefaubion Jan 07 '18
I think that, if it's for beginners, its helpful to explain
Then you can lead the reader into whether it's worth it or not. Is the power-to-weight ratio there? It's an infectious feature, so this is critical. If it isn't there, then maybe you can allude to how you might bump up the power side of it (maybe
run, or maybe just MTL is better).An example might be
purescript-reactwhere it can track/prevent component state operations within certain restricted lifecycle methods. It's arguable whether this is worth it though for a low-level library. I don't think it is, but it does what it says on the box, even if it can be irritating.I do think something like this is good for historical purposes, since
Effrows have been a core part of PS for most of it's life.