From 82d2a73cf268b64f968b14d98efd0f759322b405 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Wed, 3 May 2017 11:38:18 -0400 Subject: [PATCH] Define the modulus operation. --- src/Data/Syntax/Expression.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Data/Syntax/Expression.hs b/src/Data/Syntax/Expression.hs index 66f0b1013..ad20e8d73 100644 --- a/src/Data/Syntax/Expression.hs +++ b/src/Data/Syntax/Expression.hs @@ -19,6 +19,7 @@ data Arithmetic a | Minus a a | Times a a | DividedBy a a + | Modulo a a | Power a a deriving (Eq, Foldable, Functor, Generic1, Show, Traversable)