{-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}moduleText.Appar.InputwhereimportqualifiedData.ByteString.Char8asSimportqualifiedData.ByteString.Lazy.Char8asL----------------------------------------------------------------{-|
The class for parser input.
-}classEqinp=>Inputinpwhere-- | The head function for inputcar::inp->Char-- | The tail function for inputcdr::inp->inp-- | The end of inputnil::inp-- | The function to check the end of inputisNil::inp->BoolinstanceInputS.ByteStringwherecar=S.headcdr=S.tailnil=S.emptyisNil=S.nullinstanceInputL.ByteStringwherecar=L.headcdr=L.tailnil=L.emptyisNil=L.nullinstanceInputStringwherecar=headcdr=tailisNil=nullnil=""