
3 Dec
2009
3 Dec
'09
10:52 p.m.
In prolog, one can create a database of facts and predicates, which, depending on the prolog (AFAIK) can be 'compiled' and loaded quickly. How does one do something comparable in Haskell? I guess I have in mind something like a function that accesses the data with a key. And ideally, the data should itself be able to contain functions. I know there is a hash table library, and interfaces to databases like postgresql. If using hash table, is there a way to 'pickle' the hash table, and unpickle it? I'd be happy to have some pointers to someplace that this has been done (or some documentation on how to do it. Thanks, John Velman