[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

suggestion for Haskell prelude



Resent-Message-Id: <199509181125.NAA17715@animal.cs.chalmers.se>
From: meshvel@botik.yaroslavl.su (Sergei D. Meshveliani)
Subject: suggestion for Haskell prelude
Date: Mon, 18 Sep 95 15:22 +0400
To: haskell@dcs.gla.ac.uk
Old-Resent-From: haskell-request@dcs.gla.ac.uk
Errors-To: haskell-request@dcs.gla.ac.uk
Approved: haskell@dcs.gla.ac.uk
Resent-Date:  Mon, 18 Sep 1995 12:23:39 +0100
Resent-From: kh@dcs.gla.ac.uk
Resent-To: haskell-list-dist@dcs.gla.ac.uk


A very small suggestion for the Haskell prelude style:

if a type has no meaning except being a holder for the values
of the function  foo,  then let the type be called  Foo.

This will economize names.

Thus the type of `compare' from 1.3 prelude should be called  Compare,
etc.



Sergey Mechveliani

meshvel@botik.yaroslavl.su