[Haskell-cafe] Readable Haskell
ollie at ocharles.org.uk
Sat Sep 19 16:22:33 UTC 2020
For indentation and very mechanical formatting, I suggest just using something like hindent, brittany or ormolu (all available at your local Hackage).
For naming, I follow Chris Done's suggestion: https://chrisdone.com/posts/german-naming-convention/
On Sat, 19 Sep 2020, at 4:32 PM, Misja Alma wrote:
> Thanks, these links are really useful! This definitely answers part of my question.
> But what would still be really useful are some more or less generally accepted best practices about variable naming, indentation, when to use nested functions vs when to prefer keeping functions short, etc with regards to readability.
> On Sat, 19 Sep 2020 at 17:10, Henning Thielemann <lemming at henning-thielemann.de> wrote:
>> On Sat, 19 Sep 2020, Misja Alma wrote:
>> > Does anybody have any tips, or are there some sites or books that I
>> > could read about this topic?
>> It may be a bit old but we have some articles on style in the Haskell
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe