Hoogle Search

Within LTS Haskell 24.66 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. idFormatTokenREOptions :: FormatTokenREOptions

    regex Text.RE.ZeInternals

    a configuration that will preserve the parsed regular expression in the output

  2. class BiForall (r1 :: Row k1) (r2 :: Row k2) (c :: k1 -> k2 -> Constraint)

    row-types Data.Row

    Any structure over two rows in which the elements of each row satisfy some constraints can be metamorphized into another structure over both of the rows.

  3. class BiForall (r1 :: Row k1) (r2 :: Row k2) (c :: k1 -> k2 -> Constraint)

    row-types Data.Row.Internal

    Any structure over two rows in which the elements of each row satisfy some constraints can be metamorphized into another structure over both of the rows.

  4. class BiForall (r1 :: Row k1) (r2 :: Row k2) (c :: k1 -> k2 -> Constraint)

    row-types Data.Row.Records

    Any structure over two rows in which the elements of each row satisfy some constraints can be metamorphized into another structure over both of the rows.

  5. asWellFormed :: SExprParser a (SExpr b) -> SExprParser a (WellFormedSExpr b)

    s-cargot Data.SCargot

    Convert the final output representation from the SExpr type to the WellFormedSExpr type.

    >>> import Text.Parsec (alphaNum, many1)
    
    >>> let parser = asWellFormed (mkParser (many1 alphaNum))
    
    >>> decode parser "(ele phant)"
    Right [WFSList [WFSAtom "ele",WFSAtom "phant"]]
    

  6. asWellFormed :: SExprParser a (SExpr b) -> SExprParser a (WellFormedSExpr b)

    s-cargot Data.SCargot.Parse

    Convert the final output representation from the SExpr type to the WellFormedSExpr type.

    >>> import Text.Parsec (alphaNum, many1)
    
    >>> let parser = asWellFormed (mkParser (many1 alphaNum))
    
    >>> decode parser "(ele phant)"
    Right [WFSList [WFSAtom "ele",WFSAtom "phant"]]
    

  7. data WellFormedSExpr atom

    s-cargot Data.SCargot.Repr

    A well-formed s-expression is one which does not contain any dotted lists. This means that not every value of SExpr a can be converted to a WellFormedSExpr a, although the opposite is fine.

  8. fromWellFormed :: WellFormedSExpr atom -> SExpr atom

    s-cargot Data.SCargot.Repr

    Convert a WellFormedSExpr back into a SExpr.

  9. toWellFormed :: SExpr atom -> Either String (WellFormedSExpr atom)

    s-cargot Data.SCargot.Repr

    This will be Nothing if the argument contains an improper list. It should hold that

    toWellFormed (fromWellFormed x) == Right x
    
    and also (more tediously) that
    case toWellFormed x of
    Left _  -> True
    Right y -> x == fromWellFormed y
    

  10. module Data.SCargot.Repr.WellFormed

    No documentation available.

Page 1528 of many | Previous | Next