SimpleInvRoseDetails.mesa
Copyright © 1985 by Xerox Corporation. All rights reversed.
Spreitzer, October 5, 1985 3:36:39 pm PDT
DIRECTORY BasicTime, BitTwiddling, Core, CoreProperties, GetMe, IO, Rope, RoseBehavior, RoseBind, SimpleInvRoseDefs;
SimpleInvRoseDetails: CEDAR PROGRAM
IMPORTS GetMe, RoseBehavior
=
BEGIN OPEN RoseBehavior, SimpleInvRoseDefs;
EvalSimple: PROC [argsAny, switchAny, simpleAny, strengthAny, stateAny: REF ANY, perturb: PROC [portPath: PortPath]] = {
simple: REF SimpleInvSimple = NARROW[simpleAny];
drive: REF SimpleInvDrive = NARROW[strengthAny];
{OPEN simple;
drive.out ← drive;
drive.in ← none;
out ← NOT in;
};
};
RegisterDetails[
behaviorClassName: "SimpleInv",
details: NEW [DetailsRec ← [EvalSimple: EvalSimple]],
versionStamp: GetMe.GetVersion[]
];
END.