28 Dec
2005
28 Dec
'05
7:56 p.m.
On 12/26/05, Ashley Yakeley <ashley@semantic.org> wrote:
I thought functions receive dictionaries, rather than dictionaries being stored inside values? For instance:
class C (x :: #4) where ...
foo :: (C x) => x -> Bool foo x = ...
might be generate something like this:
HsBool foo (CDict dict,int32 x) { ... }
Just a strange thought, but what about... foo :: x# -> ... => ... foo (void *x, ...) { ... } Just because it's unboxed doesn't mean it isn't in memory... -- Taral <taralx@gmail.com> "Computer science is no more about computers than astronomy is about telescopes." -- Edsger Dijkstra