[Haskell-cafe] Alternative Preludes
ian at skybluetrades.net
Thu Jun 28 12:25:53 UTC 2018
I'd put in a vote for protolude. I just started using it on a new project
that promises to get quite big, and it's turning out to make life a lot
easier. Two things I'd suggest: 1. Don't use a custom prelude for
libraries, especially if you're planning to publish them publicly -- only
use custom preludes for applications. 2. Treat whatever custom prelude you
choose as a starting point, not as something that's fixed in stone. I've
been using our custom prelude as a way to provide common utility functions,
to work around limitations in some of the dependencies we're using, and so
on. If I find myself repeatedly importing a library module into
application code, I move it into one of our prelude modules. I'm really
liking the approach and wish I'd tried it a long time ago.
On Thu, Jun 28, 2018 at 8:22 AM, Hilco Wijbenga <hilco.wijbenga at gmail.com>
> Hi all,
> I've been looking for a different Prelude to, at minimum, default to
> Text instead of String but I'm sure there are other things that would
> be helpful. E.g., less focus on lists.
> I had a look at  and protolude, classy-prelude, basic-prelude,
> foundation, safe-prelude, and rio all seem interesting. Maybe even
> I'm an advanced beginner (I don't think I qualify as intermediate
> yet). Going by , classy-prelude might not be such a good idea
> because of "scary error messages". And, I'm guessing, I would need to
> know Haskell better to take advantage of base-noprelude?
> I would like to know your thoughts/suggestions/opinions/ideas. Also,
> if there are other preludes that might be of interest, do tell!
>  https://guide.aelve.com/haskell/alternative-preludes-zr69k1hc
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
Ian Ross Tel: +43(0)6804451378 ian at skybluetrades.net
PGP Key: 0x04490CC0/F4D6 027F 2661 745C 83A5 297D FCCC 0AE6 0449 0CC0
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe