diff options
Diffstat (limited to '022arithmetic.cc')
-rw-r--r-- | 022arithmetic.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/022arithmetic.cc b/022arithmetic.cc index 5181ed9d..dc191efa 100644 --- a/022arithmetic.cc +++ b/022arithmetic.cc @@ -104,6 +104,10 @@ case SUBTRACT: { products.at(0).push_back(result); break; } +:(code) +bool is_raw(const reagent& r) { + return has_property(r, "raw"); +} :(scenario subtract_literal) recipe main [ |