Hacker News new | ask | show | jobs
by OneWingedShark 1910 days ago
IIRC you can disable/forbid the default like so:

    Function "*"(Left, Right: Distance) return Distance is abstract;
then use:

    Function "*"(Left, Right : Distance) return Area;
1 comments

That seems to do the trick for an individual predefined operator specification. Thanks!