Safe Haskell | None |
---|---|
Language | Haskell2010 |
- key :: (MonadDOM m, FromJSString result) => Storage -> Word -> m (Maybe result)
- key_ :: MonadDOM m => Storage -> Word -> m ()
- keyUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => Storage -> Word -> m result
- keyUnchecked :: (MonadDOM m, FromJSString result) => Storage -> Word -> m result
- getItem :: (MonadDOM m, ToJSString key, FromJSString result) => Storage -> key -> m (Maybe result)
- getItem_ :: (MonadDOM m, ToJSString key) => Storage -> key -> m ()
- getItemUnsafe :: (MonadDOM m, ToJSString key, HasCallStack, FromJSString result) => Storage -> key -> m result
- getItemUnchecked :: (MonadDOM m, ToJSString key, FromJSString result) => Storage -> key -> m result
- setItem :: (MonadDOM m, ToJSString key, ToJSString data') => Storage -> key -> data' -> m ()
- removeItem :: (MonadDOM m, ToJSString key) => Storage -> key -> m ()
- clear :: MonadDOM m => Storage -> m ()
- getLength :: MonadDOM m => Storage -> m Word
- newtype Storage = Storage {}
- gTypeStorage :: JSM GType
Documentation
keyUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => Storage -> Word -> m result Source #
keyUnchecked :: (MonadDOM m, FromJSString result) => Storage -> Word -> m result Source #
getItem :: (MonadDOM m, ToJSString key, FromJSString result) => Storage -> key -> m (Maybe result) Source #
getItemUnsafe :: (MonadDOM m, ToJSString key, HasCallStack, FromJSString result) => Storage -> key -> m result Source #
getItemUnchecked :: (MonadDOM m, ToJSString key, FromJSString result) => Storage -> key -> m result Source #
setItem :: (MonadDOM m, ToJSString key, ToJSString data') => Storage -> key -> data' -> m () Source #
removeItem :: (MonadDOM m, ToJSString key) => Storage -> key -> m () Source #
Functions for this inteface are in JSDOM.Storage.
gTypeStorage :: JSM GType Source #