aboutsummaryrefslogtreecommitdiff
path: root/common/src/Common/Model/Frequency.hs
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/Model/Frequency.hs
parent17d6a05756479388c91bc2e50f721fcea8a82d38 (diff)
downloadbudget-ab17b6339d16970c3845ec4f153bfeed89eae728.tar.gz
budget-ab17b6339d16970c3845ec4f153bfeed89eae728.tar.bz2
budget-ab17b6339d16970c3845ec4f153bfeed89eae728.zip
Add modal component
Diffstat (limited to 'common/src/Common/Model/Frequency.hs')
-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