[Haskell-cafe] Coding conventions for Haskell?
Brandon S Allbery KF8NH
allbery at ece.cmu.edu
Mon Sep 27 18:38:15 EDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 9/27/10 17:07 , Max Rabkin wrote:
> On Mon, Sep 27, 2010 at 22:57, Andrew Coppin <andrewcoppin at btinternet.com> wrote:
>> data Foo a b =
>> Foo a |
>> Bar b |
>> Foobar a b
>> deriving (Eq, Ord)
>
> Also, either your pipes don't line up, or you violate your own rule
They line up fine in a fixed width font. Programming in any
indentation-sensitive language in a proportional font leads inevitably to
use of tabs to make things line up properly, which leads directly to pain.
- --
brandon s. allbery [linux,solaris,freebsd,perl] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkyhHNcACgkQIn7hlCsL25XKjwCgjlxdAK1RTimZhFb0nzyYo5lu
pXAAoLKdcuZ7foV+uM0s9QtvabFopuJl
=WCR4
-----END PGP SIGNATURE-----
More information about the Haskell-Cafe
mailing list