1 {-# LANGUAGE DeriveDataTypeable #-}
2 {-# LANGUAGE FlexibleContexts #-}
3 {-# LANGUAGE TypeFamilies #-}
4 module Hcompta.Posting where
6 import Data.Foldable (Foldable(..))
12 ( Account (Posting_Account p)
13 , Amount (Posting_Amount p)
14 , Foldable (Posting_Amounts p)
16 type Posting_Account p
18 type Posting_Amounts p :: * -> *
19 posting_account :: p -> Posting_Account p
20 posting_amounts :: p -> Posting_Amounts p (Posting_Amount p)