2 research outputs found

    ABSTRACT Parameterized Modules for Classes and Extensible Functions

    No full text
    We present F(Eml), a language that combines classes, extensible functions, symmetric multiple dispatching, and a practical system for reusable parameterized modules. Parameterized modules permit subclasses and function extensions to be defined and typechecked once, and then reused to extend multiple argument modules. F(Eml)’s predecessor, Eml, supported classes and extensible functions with multiple dispatch, but its support for parameterized modules was weak and inflexible. F(Eml)’s key novel features, which greatly expand the utility of its module system, are alias declarations, generalized type relations in module signatures, and a nontrivial definition of signature subsumption. 1
    corecore