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

Marc Weber marco-oweber at gmx.de
Thu May 22 09:34:36 EDT 2008


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)

That's note quite right..
if you care only about the Int -> String -> [ Rec ] lookup you are
right. But When using Map String (Map Int Rec) you can still use the
first index also you'll have to spend some time joining all sets found
in the second one..

Marc


More information about the Haskell-Cafe mailing list