Hi,<div>How can I serialize a fun with its'complete representation from a module? Seems like term_to_binary returns full representation only when it is called from shell, in module it returns reference or something like this. I need to create a fun in a module and pass it to another node that has different modules.</div><div>Is this possible at all? Also, am i right that such serialization returns closure, including all variables bound outside of the fun body?</div><div><br></div><div><br></div>