Copyright | (c) Owen Shepherd 2022 |
---|---|
License | MIT |
Maintainer | owen@owen.cafe |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Industry general bank insurance
- mapIndustry :: (a -> a') -> (b -> b') -> (c -> c') -> Industry a b c -> Industry a' b' c'
- invertIndustries :: [Industry [a] [b] [c]] -> [Industry a b c]
Documentation
data Industry general bank insurance Source #
Distinguish between different industry-specific data.
Instances
FromJSON IndustryCashFlows Source # | |
Defined in SimFin.Types.CashFlow parseJSON :: Value -> Parser IndustryCashFlows # parseJSONList :: Value -> Parser [IndustryCashFlows] # | |
FromJSON IndustryBalanceSheets Source # | |
Defined in SimFin.Types.BalanceSheet parseJSON :: Value -> Parser IndustryBalanceSheets # parseJSONList :: Value -> Parser [IndustryBalanceSheets] # | |
FromJSON IndustryProfitsAndLosses Source # | |
Defined in SimFin.Types.ProfitAndLoss | |
(Show general, Show bank, Show insurance) => Show (Industry general bank insurance) Source # | |
mapIndustry :: (a -> a') -> (b -> b') -> (c -> c') -> Industry a b c -> Industry a' b' c' Source #
Map all discriminations of an Industry.
invertIndustries :: [Industry [a] [b] [c]] -> [Industry a b c] Source #
List of discriminations of lists to list of discriminations. Used to removing extra nesting from the statements API results.