Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

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

  1. lookupAttributeIdLimit :: Map U32 U32 -> CompressedWord -> BitGet Word

    rattletrap Rattletrap.Type.Attribute

    No documentation available.

  2. lookupAttributeMap :: ClassAttributeMap -> Map CompressedWord U32 -> CompressedWord -> BitGet (Map U32 U32)

    rattletrap Rattletrap.Type.Attribute

    No documentation available.

  3. lookupAttributeName :: ClassAttributeMap -> Map U32 U32 -> CompressedWord -> BitGet Str

    rattletrap Rattletrap.Type.Attribute

    No documentation available.

  4. lookupL :: Ord l => l -> Bimap l r -> Maybe r

    rattletrap Rattletrap.Type.ClassAttributeMap

    No documentation available.

  5. lookupR :: Ord r => r -> Bimap l r -> Maybe l

    rattletrap Rattletrap.Type.ClassAttributeMap

    No documentation available.

  6. lookupClassName :: Str -> BitGet Str

    rattletrap Rattletrap.Type.Replication.Spawned

    No documentation available.

  7. lookupName :: ClassAttributeMap -> Maybe U32 -> BitGet (Maybe Str)

    rattletrap Rattletrap.Type.Replication.Spawned

    No documentation available.

  8. lookupObjectName :: ClassAttributeMap -> U32 -> BitGet Str

    rattletrap Rattletrap.Type.Replication.Spawned

    No documentation available.

  9. lookupEnv :: (IsString a, MonadIO m) => String -> m (Maybe a)

    read-env-var System.ReadEnvVar

    Like System.Environment's lookupEnv, but using IsString to make it more general. Lookup an environment variable that exists:

    >>> setEnv "TEST_ENV_VAR" "foo"
    
    >>> lookupEnv "TEST_ENV_VAR" :: IO (Maybe String)
    Just "foo"
    
    Lookup an environment variable that doesn't exist. Return Nothing:
    >>> lookupEnv "THIS_ENV_VAR_WILL_NOT_EXIST" :: IO (Maybe String)
    Nothing
    

  10. lookupEnvDef :: (IsString a, MonadIO m) => String -> a -> m a

    read-env-var System.ReadEnvVar

    Like lookupEnv but take a default value. Lookup an environment variable that exists:

    >>> setEnv "TEST_ENV_VAR" "foo"
    
    >>> lookupEnvDef "TEST_ENV_VAR" "bar" :: IO String
    "foo"
    
    Lookup an environment variable that doesn't exist. Return the default value:
    >>> lookupEnvDef "THIS_ENV_VAR_WILL_NOT_EXIST" "bar" :: IO String
    "bar"
    

Page 106 of many | Previous | Next