<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>R16B01</div><div><br></div><div>The following code compile and works when in a module:</div><div><br></div><div>-module(m).</div><div>-export([f/0]).</div><div><br></div><div>f() -></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>fun abs/1.</div><div><br></div><div>> (m:f())(-3).</div><div>3</div><div><br></div><div>But</div><div>> > (fun abs/1)(-3).</div></span><div>** exception error: undefined function erl_eval:abs/1</div><div><br></div><div><br></div><div>/Tony</div><div><br></div></div></body></html>