Copyright | (c) Owen Shepherd 2022 |
---|---|
License | MIT |
Maintainer | [email protected] |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
SimFin.Types.Industry
Description
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 Methods parseJSON :: Value -> Parser IndustryCashFlows # parseJSONList :: Value -> Parser [IndustryCashFlows] # | |
FromJSON IndustryBalanceSheets Source # | |
Defined in SimFin.Types.BalanceSheet Methods parseJSON :: Value -> Parser IndustryBalanceSheets # parseJSONList :: Value -> Parser [IndustryBalanceSheets] # | |
FromJSON IndustryProfitsAndLosses Source # | |
Defined in SimFin.Types.ProfitAndLoss Methods parseJSON :: Value -> Parser IndustryProfitsAndLosses # parseJSONList :: Value -> Parser [IndustryProfitsAndLosses] # | |
(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.