[Haskell-cafe] Re: Proposal: TypeDirectedNameResolution
dav.vire+haskell at gmail.com
Tue Jul 28 07:17:11 EDT 2009
> There are other possible language extension that may make qualification
> easier, Pascal's with statement comes to mind.
> In Haskell, this would work something like this:
> histogram xs =
> with Data.Map
> foldl' f empty xs
> f m x = case lookup m x where
> Just k -> insertWith x (+1) m
I like both that and TDNR. It would be cool that at least one of them
gets accepted in Haskell prime.
More information about the Haskell-Cafe