[Haskell-beginners] order of things in a file.hs?

Norbert Melzer timmelzer at gmail.com
Thu Jun 29 14:31:30 UTC 2017


In all languages that support arbitrary ordering I try to keep exported
stuff to the top and private stuff somewhere below.

Silent Leaf <silent.leaf0 at gmail.com> schrieb am Do., 29. Juni 2017, 16:23:

> hi,
>
> what is your personal practice of ordering data/functions/main/hidden
> functions, etc in a haskell file? like all trivial things they are very
> hard to decide upon, given that either order of helpers then main function
> / value, or the other way round, has tempting pros and cons.
>
> thanks in advance for your opinion!
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20170629/f6347c45/attachment.html>


More information about the Beginners mailing list