-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Parse BgMax-files -- -- A parser for BgMax -files from BankGirot. It is able to -- parse all of the example files from BGC. @package bgmax @version 0.2.0.0 module BankGiro.BgMax data PaymentChannel ElectronicBank :: PaymentChannel ElectronicLB :: PaymentChannel Paper :: PaymentChannel ElectronicAG :: PaymentChannel PaymentChannelReserved :: Int -> PaymentChannel data Image NoImage :: Image Image :: Image ImageReserved :: Int -> Image data Address Address :: Maybe ByteString -> Maybe ByteString -> Maybe ByteString -> Maybe ByteString -> Maybe ByteString -> Address [street] :: Address -> Maybe ByteString [zipCode] :: Address -> Maybe ByteString [city] :: Address -> Maybe ByteString [country] :: Address -> Maybe ByteString [countryCode] :: Address -> Maybe ByteString data Sender Sender :: Integer -> Maybe (ByteString, ByteString) -> Address -> Maybe Integer -> Sender [senderBankGiro] :: Sender -> Integer [senderName] :: Sender -> Maybe (ByteString, ByteString) [address] :: Sender -> Address [orgNo] :: Sender -> Maybe Integer data Reference Blank :: Reference BlankNoUB :: Reference CorrectOCR :: Integer -> Centi -> Reference IncorrectOCR :: ByteString -> Reference CorrectUB :: ByteString -> Centi -> Reference IncorrectUB :: ByteString -> Reference ExtendedRef :: Int -> ByteString -> Reference mkReference :: Int -> ByteString -> Centi -> Reference data DeductionCode WholeNoRest :: DeductionCode PartialRest :: DeductionCode PartialFinal :: DeductionCode DeductionCodeReserved :: Int -> DeductionCode mkDeductionCode :: Int -> DeductionCode data EntryType Payment :: EntryType Deduction :: DeductionCode -> EntryType data Entry Entry :: EntryType -> Sender -> [Reference] -> Centi -> PaymentChannel -> Integer -> Image -> [ByteString] -> Entry [entryType] :: Entry -> EntryType [sender] :: Entry -> Sender [reference] :: Entry -> [Reference] [ammount] :: Entry -> Centi [paymentChannel] :: Entry -> PaymentChannel [bgSerialNo] :: Entry -> Integer [image] :: Entry -> Image [info] :: Entry -> [ByteString] data Currency SEK :: Currency data DepositType K :: DepositType D :: DepositType S :: DepositType data Section Section :: Integer -> Maybe Integer -> Integer -> Day -> Integer -> Centi -> Integer -> Maybe DepositType -> Currency -> [Entry] -> Section [recipientBankGiro] :: Section -> Integer [recipientPostGiro] :: Section -> Maybe Integer [recipientAccount] :: Section -> Integer [depositDay] :: Section -> Day [depositNo] :: Section -> Integer [depositAmmount] :: Section -> Centi [sNoPayments] :: Section -> Integer [depositType] :: Section -> Maybe DepositType [currency] :: Section -> Currency [entries] :: Section -> [Entry] data TestMark T :: TestMark P :: TestMark data BgMax BgMax :: Int -> LocalTime -> TestMark -> Integer -> Integer -> Integer -> Integer -> [Section] -> BgMax [version] :: BgMax -> Int [writeDay] :: BgMax -> LocalTime [testMark] :: BgMax -> TestMark [noPayments] :: BgMax -> Integer [noDeductions] :: BgMax -> Integer [noExtraReferences] :: BgMax -> Integer [noDeposits] :: BgMax -> Integer [sections] :: BgMax -> [Section] mkPaymentChannel :: Int -> PaymentChannel mkImage :: Int -> Image assert :: Bool -> String -> Parser () bgMax :: Parser BgMax isEndOfLine :: Char -> Bool dummyLine :: ByteString -> Parser () tillEol :: Parser String takeTab :: ByteString -> Int -> Int -> Parser ByteString myTake :: Int -> Parser ByteString takeT :: Int -> Parser ByteString takeReadMaybe :: Read a => Int -> Parser (Maybe a) takeRead :: Read a => Int -> Parser a pTestMark :: Parser TestMark pCurrency :: Parser Currency timeStamp :: Parser LocalTime dateStamp :: Parser Day startPost :: Parser (Int, LocalTime, TestMark) endPost :: Parser (Integer, Integer, Integer, Integer) openingPost :: Parser (Integer, Maybe Integer, Currency) depositPost :: Parser (Integer, Day, Integer, Centi, Currency, Integer, Maybe DepositType) section :: Parser Section entry :: Parser Entry maybeP :: Parser a -> Parser (Maybe a) common :: Parser ([ByteString], Maybe (ByteString, ByteString), Address, Maybe Integer) payment :: Parser Entry deduction :: Parser Entry paymentPost :: Parser (Integer, ByteString, Centi, Int, PaymentChannel, Integer, Image) deductionPost :: Parser (Integer, ByteString, Centi, Int, PaymentChannel, Integer, Image, DeductionCode) referenceCommon :: Bool -> Integer -> Centi -> PaymentChannel -> Integer -> Image -> Parser Reference extraReferenceNumberPost :: Integer -> Centi -> PaymentChannel -> Integer -> Image -> Parser Reference extraReferenceNumberPostNegative :: Integer -> Centi -> PaymentChannel -> Integer -> Image -> Parser Reference informationPost :: Parser ByteString namePost :: Parser (ByteString, ByteString) addressPostOne :: Parser (ByteString, ByteString) addressPostTwo :: Parser (ByteString, ByteString, ByteString) orgNoPost :: Parser Integer instance GHC.Show.Show BankGiro.BgMax.BgMax instance GHC.Show.Show BankGiro.BgMax.TestMark instance GHC.Show.Show BankGiro.BgMax.Section instance GHC.Read.Read BankGiro.BgMax.DepositType instance GHC.Show.Show BankGiro.BgMax.DepositType instance GHC.Show.Show BankGiro.BgMax.Currency instance GHC.Show.Show BankGiro.BgMax.Entry instance GHC.Show.Show BankGiro.BgMax.EntryType instance GHC.Show.Show BankGiro.BgMax.DeductionCode instance GHC.Show.Show BankGiro.BgMax.Reference instance GHC.Show.Show BankGiro.BgMax.Sender instance GHC.Show.Show BankGiro.BgMax.Address instance GHC.Classes.Eq BankGiro.BgMax.Image instance GHC.Show.Show BankGiro.BgMax.Image instance GHC.Classes.Eq BankGiro.BgMax.PaymentChannel instance GHC.Show.Show BankGiro.BgMax.PaymentChannel