Re: [Haskell-cafe] Advantages of using qualified names and a uniform naming convention

2006-09-04 Thread Henning Thielemann
On Mon, 4 Sep 2006, Brian Hulley wrote: Firstly, I found the following advice by Henning Thielemann very useful in my own code: http://haskell.org/hawiki/UsingQualifiedNames (bottom of the page) In the style of Modula-3 I define one data type or one type class per module. The module

Re: [Haskell-cafe] Advantages of using qualified names and a uniform naming convention

2006-09-04 Thread Henning Thielemann
On Mon, 4 Sep 2006, Brian Hulley wrote: The problem here is that these names, presumably both to do with Car, are not going to appear next to each other in any alphabetical listing (if there are other names too), whereas: type CarBlue = ... type CarRed = ... will. Thus the

Re: [Haskell-cafe] Advantages of using qualified names and a uniform naming convention

2006-09-04 Thread Brian Hulley
Henning Thielemann wrote: On Mon, 4 Sep 2006, Brian Hulley wrote: -- So related things appear alphabetically together... empty? :: Set a - Bool empty :: Set a I think the separation of alpha-numeric characters and other symbols simplifies things, and shall be preserved. In