Fri, 23 Jun 2000 23:58:36 +0200, Sven Panne <[EMAIL PROTECTED]> 
pisze:

> stToIO is a misnomer (should be sTToIO),

stToIO looks better for me. What about declaring that lowercasing the
first letter of an abbreviation consisting of only capital letters is
realized by lowercasing the whole word? Including ioRefToFoo.

> e.g. proposals for the names of non-monadic versions of updateBlah,

Edison uses
  update :: Seq s => Int -> a -> s a -> s a
  adjust :: Seq s => (a -> a) -> Int -> s a -> s a
for what my guidelines could give
  setElem    :: Seq s => s a -> Int -> a -> s a
  updateElem :: Seq s => s a -> Int -> (a -> a) -> s a

Not that I don't like partial application, but Edison's order is
usually not used elsewhere, e.g. in PosixTTY (using "with" prefix
instead of my "set"), Bits (using separate setBit and clearBit instead
of setBit with Bool parameter, and complementBit instead of updateBit -
but the latter is OK), FiniteMap.

Maybe we should promote Edison's order, which is consistent with
module List, but what about above libraries?

-- 
 __("<  Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
 \__/            GCS/M d- s+:-- a23 C+++$ UL++>++++$ P+++ L++>++++$ E-
  ^^                W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP+ t
QRCZAK                5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-


Reply via email to