Hoogle Search

Within LTS Haskell 24.18 (ghc-9.10.3)

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

  1. glGetVaryingLocationNV :: MonadIO m => GLuint -> Ptr GLchar -> m GLint

    OpenGLRaw Graphics.GL.NV.TransformFeedback

    No documentation available.

  2. newtype MissingEnvironmentVariable

    dhall Dhall.Import

    Exception thrown when an environment variable is missing

  3. MissingEnvironmentVariable :: Text -> MissingEnvironmentVariable

    dhall Dhall.Import

    No documentation available.

  4. bashEnvironmentVariable :: Parser Text

    dhall Dhall.Parser.Token

    Parse a valid Bash environment variable name This corresponds to the bash-environment-variable rule in the official grammar

  5. posixEnvironmentVariable :: Parser Text

    dhall Dhall.Parser.Token

    Parse a valid POSIX environment variable name, which permits a wider range of characters than a Bash environment variable name This corresponds to the posix-environment-variable rule in the official grammar

  6. escapeEnvironmentVariable :: Text -> Text

    dhall Dhall.Pretty

    Escape an environment variable if not a valid Bash environment variable

  7. listVars :: Typeable a => String -> a -> [Expr]

    express Data.Express

    Generate an infinite list of variables based on a template and a given type. (cf. listVarsAsTypeOf)

    > putL 10 $ listVars "x" (undefined :: Int)
    [ x :: Int
    , y :: Int
    , z :: Int
    , x' :: Int
    , y' :: Int
    , z' :: Int
    , x'' :: Int
    , ...
    ]
    
    > putL 10 $ listVars "p" (undefined :: Bool)
    [ p :: Bool
    , q :: Bool
    , r :: Bool
    , p' :: Bool
    , q' :: Bool
    , r' :: Bool
    , p'' :: Bool
    , ...
    ]
    

  8. listVarsAsTypeOf :: String -> Expr -> [Expr]

    express Data.Express

    Generate an infinite list of variables based on a template and the type of a given Expr. (cf. listVars)

    > let one = val (1::Int)
    > putL 10 $ "x" `listVarsAsTypeOf` one
    [ x :: Int
    , y :: Int
    , z :: Int
    , x' :: Int
    , ...
    ]
    
    > let false = val False
    > putL 10 $ "p" `listVarsAsTypeOf` false
    [ p :: Bool
    , q :: Bool
    , r :: Bool
    , p' :: Bool
    , ...
    ]
    

  9. listVarsWith :: [Expr] -> Expr -> [Expr]

    express Data.Express

    O(n+m). Like lookupNames but returns a list of variables encoded as Exprs.

  10. listVars :: Typeable a => String -> a -> [Expr]

    express Data.Express.Hole

    Generate an infinite list of variables based on a template and a given type. (cf. listVarsAsTypeOf)

    > putL 10 $ listVars "x" (undefined :: Int)
    [ x :: Int
    , y :: Int
    , z :: Int
    , x' :: Int
    , y' :: Int
    , z' :: Int
    , x'' :: Int
    , ...
    ]
    
    > putL 10 $ listVars "p" (undefined :: Bool)
    [ p :: Bool
    , q :: Bool
    , r :: Bool
    , p' :: Bool
    , q' :: Bool
    , r' :: Bool
    , p'' :: Bool
    , ...
    ]
    

Page 37 of many | Previous | Next