[Xmonad] darcs patch: XSelection.hs: simplify creation of window (and 10 more)

David Roundy droundy at darcs.net
Tue Oct 23 10:39:27 EDT 2007

On Tue, Oct 23, 2007 at 05:25:46PM +0300, Valery V. Vorotyntsev wrote:
> On 10/23/07, David Roundy <droundy at darcs.net> wrote:
> >
> > There's a difference between coding a compiler and coding anything else.
> > SPJ's recommendation for libraries is to *always* use explicit import
> > lists, as this gives maximum forward-compatibility, since otherwise your
> > code could break when a new function is added to the imported module, due
> > to name clashes.  There was discussion recently (on haskell-cafe) of adding
> > a warning for imports without an import list.  I hope it gets added, as
> > it'll make it easier to enforce darcs' coding guidelines.  :)
> Could you refer me to the darcs guidelines? :)
> I've googled nothing.

I'm afraid we haven't written them up.  But if you were to read the code,
you'd find that it's pretty clear, and it's definitely been discussed on
the mailing list.
David Roundy
Department of Physics
Oregon State University

More information about the Xmonad mailing list