RE: [Template-haskell] Release
| > > * Use a naming scheme for the functions that avoids having | > > to suffix some with "E" or "D" and some not. Example: we | > > have "cond", but "letE". Better *uniformly* use a single | > > suffix for all functions of the same class; eg, "condExp" | > > and "letExp" (or "condE" and "letE" if you desperately | > > want to save letters).
I'm sorry that I didn't respond to this at the time. I agree with the first sentence, but I had not absorbed the full glory of making every single constructor three or four characters longer. Like Tim, I don't think this is a good plan. We don't say JustMaybe and NothingMabye. Instead, we just choose constructor names that don't clash within a particular module. (Between unrelated modules, we can rely on qualified names etc.)
We need to decide what naming scheme is going to be in GHC 6.0. I already merged through Ian's renaming changes, so the current situation is that GHC 6.0 has the longer names. Time is short, so I could just back out to the previous story if there's no concensus. Cheers, Simon
participants (1)
-
Simon Marlow