Beginner problem with Mnemosyne

Luke Gorrie luke@REDACTED
Wed Mar 3 03:24:57 CET 1999


Hi all,

I've just started playing with Mnesia, but I'm having a small problem
with some code based on the provided examples.  On the function:

get_me() ->
    Q = query [E.name || E <- table(employee),
			 E.sex = male] end,
    F = fun() ->
		mnemosyne:eval(Q) end,
    mnesia:transaction(F).

During compilation I get the error message:
mnemosyne query, missing transformation

Could someone please point me in the right direction?  (Complete
problem code attached).

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: company.hrl
URL: <http://erlang.org/pipermail/erlang-questions/attachments/19990303/2c7cde1b/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: company.erl
URL: <http://erlang.org/pipermail/erlang-questions/attachments/19990303/2c7cde1b/attachment-0001.ksh>
-------------- next part --------------

-- 
Luke Gorrie <luke@REDACTED>
http://www.vegetable.org/


More information about the erlang-questions mailing list