Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/include/packages/parsec/Text/ParserCombinators/Parsec/Pos.hi

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


interface Text.ParserCombinators.Parsec.Pos where {

{-# NEED #-}
instance Prelude.Functor NHC.Internal.IO;

{-# NEED #-}
instance Prelude.Monad NHC.Internal.IO;

{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Fractional (Ratio.Ratio a);

{-# NEED #-}
instance (Prelude.Integral a) => Prelude.RealFrac (Ratio.Ratio a);

{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Num (Ratio.Ratio a);

{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Real (Ratio.Ratio a);

{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Enum (Ratio.Ratio a);

{-# NEED #-}
instance (Prelude.Read a,Prelude.Integral a) => Prelude.Read (Ratio.Ratio a);

{-# NEED #-}
instance Prelude.Ord SourcePos;

{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Ord (Ratio.Ratio a);

{-# NEED #-}
instance Prelude.Eq SourcePos;

{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Eq (Ratio.Ratio a);

{-# NEED #-}
instance Prelude.Show SourcePos;

{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Show (Ratio.Ratio a);

{-# NEED #-}
instance (Prelude.Show a) => Prelude.Show (NHC.Internal.IO a);
interface Ratio
{-# NEED Ratio #-}
data Ratio a;
interface NHC.Internal
{-# NEED IO #-}
newtype {-#  #-} IO a;

{-# NEED World #-}
data World;
interface ! Text.ParserCombinators.Parsec.Pos
{-# NEED updatePosChar #-}
updatePosChar{-# 2 #-}::(SourcePos -> (Prelude.Char -> SourcePos));

{-# NEED updatePosString #-}
updatePosString{-# 2 #-}::(SourcePos -> (Prelude.String -> SourcePos));

{-# NEED setSourceColumn #-}
setSourceColumn{-# 2 #-}::(SourcePos -> (Column -> SourcePos));

{-# NEED setSourceLine #-}
setSourceLine{-# 2 #-}::(SourcePos -> (Line -> SourcePos));

{-# NEED setSourceName #-}
setSourceName{-# 2 #-}::(SourcePos -> (SourceName -> SourcePos));

{-# NEED incSourceColumn #-}
incSourceColumn{-# 2 #-}::(SourcePos -> (Column -> SourcePos));

{-# NEED incSourceLine #-}
incSourceLine{-# 2 #-}::(SourcePos -> (Line -> SourcePos));

{-# NEED sourceColumn #-}
sourceColumn{-# 1 #-}::(SourcePos -> Column);

{-# NEED sourceLine #-}
sourceLine{-# 1 #-}::(SourcePos -> Line);

{-# NEED sourceName #-}
sourceName{-# 1 #-}::(SourcePos -> SourceName);

{-# NEED initialPos #-}
initialPos{-# 1 #-}::(SourceName -> SourcePos);

{-# NEED newPos #-}
newPos{-# 3 #-}::(SourceName -> (Line -> (Column -> SourcePos)));

{-# NEED SourcePos #-}
data SourcePos;

{-# NEED Column #-}
type {-# 4 #-} Column = Prelude.Int;

{-# NEED Line #-}
type {-# 3 #-} Line = Prelude.Int;

{-# NEED SourceName #-}
type {-# 2 #-} SourceName = Prelude.String;
}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.