You know what I want to find? A custom prelude that imports only compositional functions and no data types. Look, if I want to use Text, I will tell you which one. I want to be able to import it all without having to specify a long chain of functions. Typeclasses can come too.
-
Show this thread
-
@emi1ypi
@dibblego Don't suppose either of you nerds knows of something like this?1 reply 0 retweets 0 likesShow this thread -
Replying to @Storakatten @dibblego
Papa does a good job of not messing about with too much data: https://github.com/data61/papa-prelude …
1 reply 0 retweets 0 likes -
Might end up making my own personally. Thinking of forking protolude. I like it i just don't want it to import text
1 reply 0 retweets 0 likes -
Replying to @Storakatten @dibblego
Beyond enforcing an opinion about how coding should be done in a team setting (with lenses, pure functions), custom preludes aren't that interesting. You'd spend your time more meaningfully if you just... didn't use the functions you don't like?
2 replies 0 retweets 0 likes -
Replying to @bkmlep @Storakatten
papa comes about by following some rules: * qualify all imports (but one at most) * qualify all imports -> lots of work * never use some Prelude functions
1 reply 0 retweets 1 like
I should add: * NoImplicitPrelude
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.