Reorganize the helper functions
This commit is contained in:
parent
79815796af
commit
4c52091515
@ -175,6 +175,18 @@ Helper functions:
|
||||
> Gutschrift _ _ -> True
|
||||
> _ -> False
|
||||
|
||||
> is_p_credit :: AP_Geschaeftsvorfall -> Bool
|
||||
> is_p_credit g =
|
||||
> case g of
|
||||
> P_Gutschrift _ _ -> True
|
||||
> _ -> False
|
||||
|
||||
> is_k_credit :: K_Geschaeftsvorfall -> Bool
|
||||
> is_k_credit g =
|
||||
> case g of
|
||||
> K_Gutschrift _ _ -> True
|
||||
> _ -> False
|
||||
|
||||
===================================================================================
|
||||
Aufgabe A.1
|
||||
|
||||
@ -315,12 +327,6 @@ Nur Werte zwischen 0 und 99 fuer cent!
|
||||
> in
|
||||
> K_Zahlung res (zahlungsdatum g)
|
||||
|
||||
> is_p_credit :: AP_Geschaeftsvorfall -> Bool
|
||||
> is_p_credit g =
|
||||
> case g of
|
||||
> P_Gutschrift _ _ -> True
|
||||
> _ -> False
|
||||
|
||||
|
||||
===================================================================================
|
||||
Aufgabe A.3
|
||||
@ -375,12 +381,6 @@ Aufgabe A.3
|
||||
> (g,v) = x
|
||||
|
||||
|
||||
> is_k_credit :: K_Geschaeftsvorfall -> Bool
|
||||
> is_k_credit g =
|
||||
> case g of
|
||||
> K_Gutschrift _ _ -> True
|
||||
> _ -> False
|
||||
|
||||
===================================================================================
|
||||
Aufgabe A.4
|
||||
|
||||
|
Reference in New Issue
Block a user