[Haskell-cafe] Re: Use of abbreviations in Haskell

Colin Paul Adams colin at colina.demon.co.uk
Fri Jan 2 14:38:52 EST 2009


>>>>> "Achim" == Achim Schneider <barsoap at web.de> writes:

    Achim> OTOH, I don't like the idea of having to write "Attribute"
    Achim> all the time, and neither want to write pages of

    Achim> attrKey = Attribute.key

    Achim> for 1000-element records (or TH to tackle standard language
    Achim> problems, for that matter), so there has to be some way for
    Achim> library users to shorten code without being masochistic,
    Achim> somewhat like this:

    Achim> A = Attribute

Nay, there's no tax on keystrokes.

Code is far more often read than written.
-- 
Colin Adams
Preston Lancashire


More information about the Haskell-Cafe mailing list