Skip to content

Using <classy> #12

@alt-vena

Description

@alt-vena

I have a short question regarding how the interface is supposed to be implemented. I usually define my interfaces in two files. Say some interface in file car.lisp with implementation in car-implementation.lisp. I want to have the interface bound to the class car which I have until now typically defined in car.lisp. On compiling I get an error that the class is not defined yet. I could move the class definition to a third file (in car-implementation.lisp causes circularity) but this seems a bit superfluous. Any ideas? Also would it not make sense to implement as parametric. One could then bind it to a variable and include it in the superinterface list as a mixin of sorts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions