On Fri, Nov 28, 2008 at 12:04 AM, Jules Bean <[EMAIL PROTECTED]> wrote: > I can't see the context of the beginning of this thread, but I've always > found: > > fromList [("hello",1),("there",2)] > > to be a relatively simple syntax, and still checked at compile time.
I never liked that. Too much syntax overhead. But this clears it right up: foo = fromList [ "hello" >: 1, "there" >: 2 ] where (:>) = (,) And also I haven't been following the thread, so this may not be any kind of answer. Luke _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe