From: Tim <er...@58...> - 2013-07-01 15:18:59
|
On 02/07/2013, at 12:17 AM, Claes Wikstrom <kl...@hy...> wrote: > The whatCat/1 function will be part of the same module as the rest > of the chunks of code that stem from the same .yaws page. > The functions are not exported though so if you change to > just > > <erl> > out(Arg) -> > {html, whatCat()}. > </erl> > > It'll work I get an error if I try to call it directly: Dynamic compile error: /Users/tim/test.yaws:42: function whatCat/0 undefined That error persists even if _neither_ erl chunk has a "module=…" attribute. |