Skip to content

Instantly share code, notes, and snippets.

@jasongorman
Created March 29, 2019 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasongorman/1d64012f731a3c4387a659e221f4109c to your computer and use it in GitHub Desktop.
Save jasongorman/1d64012f731a3c4387a659e221f4109c to your computer and use it in GitHub Desktop.
class CarpetQuote(r, c); ref(Room) r; ref(Carpet) c;
begin
Real procedure quote;
begin
quote := c.price(r.area);
end;
end;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment