Skip to content

Instantly share code, notes, and snippets.

@johnbender
Created December 23, 2008 00:10
Show Gist options
  • Save johnbender/39198 to your computer and use it in GitHub Desktop.
Save johnbender/39198 to your computer and use it in GitHub Desktop.
try
{ok, Final} = smerl:add_func(Init, Fun),
smerl:compile(Final),
content(add_fun:run_fun(Object, Params))
catch
{error, _Something} -> ?ERROR_STATUS;
{undef, _Something} -> ?ERROR_STATUS;
_Other -> ?ERROR_STATUS
end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment