[erlang-questions] how: to serialize a function?

Tim Fletcher twoggle@REDACTED
Mon Feb 25 22:16:32 CET 2008


> The string representation of a fun is insufficient to reconstruct the
>  fun.  It lacks important things like bound variables.  You need to use
>  term_to_binary and binary_to_term for that.

Just checking - I wasn't sure whether it was something that could
somehow be "looked up" in the process that defined the function.

Thanks both.



More information about the erlang-questions mailing list