Safe Haskell | None |
---|---|
Language | Haskell2010 |
Types responsible for CSV generation.
Synopsis
- makeCsvContents :: [(StakingAccount, StakeReward)] -> ByteString
- data ExportData = ExportData {}
- toExportData :: (StakingAccount, StakeReward) -> ExportData
Documentation
makeCsvContents :: [(StakingAccount, StakeReward)] -> ByteString Source #
Build the CSV contents with a header row.
data ExportData Source #
Represents a single row of CSV data.
Instances
toExportData :: (StakingAccount, StakeReward) -> ExportData Source #
Convert an Account & Reward into a CSV row.