-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
1,461 additions
and
1,631 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
############################ | ||
# HLint Configuration File # | ||
############################ | ||
|
||
# See https://github.com/ndmitchell/hlint | ||
|
||
####################### | ||
# MODULE RESTRICTIONS # | ||
####################### | ||
|
||
- modules: | ||
- {name: Control.Monad.Error, within: []} | ||
- {name: [Data.Aeson], as: Aeson} | ||
- {name: Data.ByteString, as: B } | ||
- {name: Data.ByteString.Char8, as: BC } | ||
- {name: Data.ByteString.Lazy, as: BL } | ||
- {name: Data.ByteString.Lazy.Char8, as: BLC } | ||
- {name: Data.Text, as: T } | ||
- {name: Data.Text.Lazy, as: TL } | ||
- {name: Data.Text.Encoding, as: TE } | ||
|
||
########################## | ||
# EXTENSION RESTRICTIONS # | ||
########################## | ||
|
||
- extensions: | ||
- default: false # All extension are banned by default | ||
- name: [DataKinds, DerivingVia] # Only these listed extensions can be used | ||
|
||
################ | ||
# CUSTOM RULES # | ||
################ | ||
|
||
# Replace a $ b $ c with a . b $ c | ||
- group: {name: dollar, enabled: true} | ||
|
||
# Generalise map to fmap, ++ to <> | ||
- group: {name: generalise, enabled: true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
-- | This module provides high-level definitions of @haspara@ library. | ||
-- | ||
-- @haspara@ provides rudimentary (and experimental) accounting functionality, | ||
-- too. These definitions can be found under "Haspara.Accounting" module. | ||
|
||
module Haspara | ||
( module Haspara.Currency | ||
, module Haspara.Date | ||
, module Haspara.FXQuote | ||
, module Haspara.Id | ||
, module Haspara.Money | ||
, module Haspara.FxQuote | ||
, module Haspara.Monetary | ||
, module Haspara.Quantity | ||
) where | ||
|
||
import Haspara.Currency | ||
import Haspara.Date | ||
import Haspara.FXQuote | ||
import Haspara.Id | ||
import Haspara.Money | ||
import Haspara.FxQuote | ||
import Haspara.Monetary | ||
import Haspara.Quantity |
Oops, something went wrong.