]> Git — Sourcephile - comptalang.git/blob - lib/Hcompta/Journal.hs
Add Compta to the symantics.
[comptalang.git] / lib / Hcompta / Journal.hs
1 {-# LANGUAGE UndecidableSuperClasses #-}
2 {-# OPTIONS_GHC -fno-warn-orphans #-}
3 module Hcompta.Journal where
4
5 import Control.DeepSeq (NFData(..))
6 import Data.Foldable (Foldable(..))
7 import Data.Functor (Functor(..))
8 import Data.Data
9 import Data.Typeable ()
10 import Data.Map.Strict (Map)
11 import qualified Data.Map.Strict as Map
12 import Data.Monoid (Monoid(..))
13 import Prelude (($), Eq(..), Show(..), flip)
14
15 import Hcompta.Date (Date)
16 import Hcompta.Lib.Consable (Consable(..))
17 import Hcompta.Transaction
18 import Hcompta.Has
19
20 -- * Class 'Journal'
21 class
22 ( HasI Transactions j
23 ) => Journal j