[Haskell-cafe] relational data representation in memory using haskell?

Marc Weber marco-oweber at gmx.de
Thu May 22 10:48:01 EDT 2008

On Thu, May 22, 2008 at 03:34:36PM +0200, Marc Weber wrote:
> On Thu, May 22, 2008 at 09:11:28AM -0400, Isaac Dupree wrote:
> >  to whoever in this thread hasn't realized it:
> >  Map String (Map Int Foo) == Map (String,Int) Foo
> >  (at least to an approximation)
There is another difference if you want to query <,<=,>,>=
say String = city and Int = age.
Now take Map (Int, String) rec and use this index to filter all tuples
having an age >= 80 and beeing "city"


More information about the Haskell-Cafe mailing list