aboutsummaryrefslogtreecommitdiff
path: root/common/src/Common
diff options
context:
space:
mode:
authorJoris2018-01-05 14:45:47 +0100
committerJoris2018-01-05 14:45:47 +0100
commitab17b6339d16970c3845ec4f153bfeed89eae728 (patch)
tree47c413dc13c2d21af47b965cb7b34e7dcbda805f /common/src/Common
parent17d6a05756479388c91bc2e50f721fcea8a82d38 (diff)
Add modal component
Diffstat (limited to 'common/src/Common')
-rw-r--r--common/src/Common/Model/Frequency.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/Common/Model/Frequency.hs b/common/src/Common/Model/Frequency.hs
index ee502e8..48e75ea 100644
--- a/common/src/Common/Model/Frequency.hs
+++ b/common/src/Common/Model/Frequency.hs
@@ -8,7 +8,7 @@ import GHC.Generics (Generic)
data Frequency =
Punctual
| Monthly
- deriving (Eq, Read, Show, Generic)
+ deriving (Eq, Read, Show, Generic, Ord)
instance FromJSON Frequency
instance ToJSON Frequency