Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
lookupDyno :: forall a. Typeable a => String -> DynoMap -> Maybe a Source #
Lookup the value at a given key in a Dyno
.
lookupDyno "hello"
lookupDynoWith :: forall a. Typeable a => String -> a -> DynoMap -> a Source #
Like lookupDyno
, but with a default value to be returned if the key
is not found or has the wrong type.