On 6/8/07, Bulat Ziganshin [EMAIL PROTECTED] wrote:
I second that. I particularly like the elimination of ]'s. We certainly
need some symbol to separate the map and the key; but we do really need
to also mark here be the end of the key?
and how (arr ! key ++ data) should be parsed? :)
apfelmus apfelmus at quantentunnel.de writes:
[ .. lengthy discussion and implementation .. ]
As an example, we have
Just Earth == lookup (at Milky Way / at Sun) universe
assuming that
universe :: Data.Map String (Data.Map String String)
All this hard work for something that in a
Grzegorz wrote:
apfelmus apfelmus at quantentunnel.de writes:
[ .. lengthy discussion and implementation .. ]
As an example, we have
Just Earth == lookup (at Milky Way / at Sun) universe
assuming that
universe :: Data.Map String (Data.Map String String)
All this hard work for
On 6/7/07, Grzegorz [EMAIL PROTECTED] wrote:
All this hard work for something that in a lesser language would be the
unimpressive: universe[Milky Way][Sun] ;-P
Well, if you want to get picky there is the '!' operator defined in Data.Map:
import Data.Map
universe :: Map String (Map
Justin Bailey wrote:
On 6/7/07, Grzegorz [EMAIL PROTECTED] wrote:
All this hard work for something that in a lesser language would be the
unimpressive: universe[Milky Way][Sun] ;-P
Well, if you want to get picky there is the '!' operator defined in
Data.Map:
universe ! Milky Way ! Sun
I