Safe Haskell | None |
---|---|
Language | Haskell2010 |
Tax.Canada.Federal
Description
The federal income tax forms
Synopsis
- data InputForms (line :: Type -> Type)
- data Forms (line :: Type -> Type) = Forms {}
- loadInputForms :: [(FormKey, FDF)] -> Either String (InputForms Maybe)
- fixFederalForms :: Code -> InputForms Maybe -> Forms Maybe -> Forms Maybe
- formFieldsForProvince :: Code -> Forms FieldConst
- formFileNames :: Map FormKey Text
- relevantFormKeys :: T1 Maybe -> Set FormKey
Documentation
data InputForms (line :: Type -> Type) Source #
All supported federal input forms, not to be filled in
Instances
Monoid (InputForms Maybe) Source # | |
Defined in Tax.Canada.Federal Methods mempty :: InputForms Maybe # mappend :: InputForms Maybe -> InputForms Maybe -> InputForms Maybe # mconcat :: [InputForms Maybe] -> InputForms Maybe # | |
Semigroup (InputForms Maybe) Source # | |
Defined in Tax.Canada.Federal Methods (<>) :: InputForms Maybe -> InputForms Maybe -> InputForms Maybe # sconcat :: NonEmpty (InputForms Maybe) -> InputForms Maybe # stimes :: Integral b => b -> InputForms Maybe -> InputForms Maybe # | |
Show (InputForms Maybe) Source # | |
Defined in Tax.Canada.Federal |
data Forms (line :: Type -> Type) Source #
All supported federal forms
Constructors
Forms | |
Instances
loadInputForms :: [(FormKey, FDF)] -> Either String (InputForms Maybe) Source #
fixFederalForms :: Code -> InputForms Maybe -> Forms Maybe -> Forms Maybe Source #
Complete all the federal forms, also handling the inter-form field references.
formFieldsForProvince :: Code -> Forms FieldConst Source #
The paths of all the fields in all federal forms, with the form key added as the head of every field path.