[erlang-questions] Parametrized modules and the shell

Hans Bolinder <>
Mon Sep 3 08:21:08 CEST 2007


[Thomas Lindgren:]
> I'm experimenting with parametrized modules, and have
> a practical question: am I doing something wrong, or
> do they just not work very well in the interactive
> shell (R11B5)?
> 
> Two examples:
> 
> 1. Create a concrete module, C = Mod:new(SubMod)
>    then apply it: C:function(...)
> 
>    That crashed in the shell (badfun), but works in compiled code.

There is a patch, see

    http://www.erlang.org/pipermail/erlang-questions/2007-July/027672.html

Best regards,

Hans Bolinder, Erlang/OTP team



More information about the erlang-questions mailing list