Converting string to match specification

Anders Nygren anders_nygren2002@REDACTED
Thu Jul 31 05:20:10 CEST 2003


I want to be able to take a string containing a fun
and convert it to a match specification.
Similar to what i can get with the ms_transform parse
transform, but I want to make it at runtime.
Match=ets:fun2ms(fun (X)->{x,X} end)

I have been playing with erl_scan, erl_parse and
ms_transform, but I have not been able to get it to
work. Any hints?



_____________________________________________________
Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express
Se mer på: http://se.docs.yahoo.com/info/express/help/index.html



More information about the erlang-questions mailing list