[Haskell-cafe] accessible layout proposal?

Daniel McAllansmith dm.maillists at gmail.com
Wed Sep 23 01:02:24 EDT 2009


On Wed, 23 Sep 2009 15:06:25 Daniel Fischer wrote:
> Am Mittwoch 23 September 2009 04:06:11 schrieb Jimmy Hartzell:
> > Daniel Fischer wrote:
> > > Or, what I do:
> > >
> > > concat
> > >     [ "("
> > >     , str
> > >     , ")"
> > >     ]
> >
> > This is a lot better, true, but it still takes a lot of typing, and the
>
> Huh? Per line it's two keystrokes more than with the accessible layout
> proposal. That's not a lot.
>
> > first element is now special-cased, preventing easy copy-and-paste
>
> Making it slightly harder. Copy-Paste-Cursor to beginning-delete-comma.
> No big deal. Besides, how often does one need to copy the beginning of one
> list into the middle of another?

Or you could use:

concat (
  : "("
  : str
  : ")"
  :[])

Though you do sometimes have to bracket an element that you wouldn't otherwise 
have to, eg

concat (
  : "("
  : str
  : ('a':'b':[])
  : ")"
  :[])


More information about the Haskell-Cafe mailing list