Hoogle Search

Within LTS Haskell 24.28 (ghc-9.10.3)

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

  1. adjustOption :: IsOption v => (v -> v) -> TestTree -> TestTree

    hledger-lib Hledger.Utils.Test

    Locally adjust the option value for the given test subtree.

  2. isJust :: Maybe a -> Bool

    parameterized-utils Data.Parameterized.Classes

    The isJust function returns True iff its argument is of the form Just _.

    Examples

    Basic usage:
    >>> isJust (Just 3)
    True
    
    >>> isJust (Just ())
    True
    
    >>> isJust Nothing
    False
    
    Only the outer constructor is taken into consideration:
    >>> isJust (Just Nothing)
    True
    

  3. class (Reflex t, Monad m) => Adjustable t (m :: Type -> Type) | m -> t

    reflex Reflex.Adjustable.Class

    A Monad that supports adjustment over time. After an action has been run, if the given events fire, it will adjust itself so that its net effect is as though it had originally been run with the new value. Note that there is some issue here with persistent side-effects: obviously, IO (and some other side-effects) cannot be undone, so it is up to the instance implementer to determine what the best meaning for this class is in such cases.

  4. type MonadAdjust = Adjustable

    reflex Reflex.Adjustable.Class

    Deprecated: Use Adjustable instead

  5. mapMapWithAdjustWithMove :: (Adjustable t m, Ord k) => (k -> v -> m v') -> Map k v -> Event t (PatchMapWithMove k v) -> m (Map k v', Event t (PatchMapWithMove k v'))

    reflex Reflex.Adjustable.Class

    Traverses a Map, running the provided Adjustable action. The provided Event of patches to the Map can add, remove, update, move, or swap values.

  6. sequenceDMapWithAdjust :: forall (k :: Type -> Type) t m . (GCompare k, Adjustable t m) => DMap k m -> Event t (PatchDMap k m) -> m (DMap k Identity, Event t (PatchDMap k Identity))

    reflex Reflex.Adjustable.Class

    Traverse a DMap of Adjustable actions, running each of them. The provided Event of patches to the DMap can add, remove, or update values.

  7. sequenceDMapWithAdjustWithMove :: forall (k :: Type -> Type) t m . (GCompare k, Adjustable t m) => DMap k m -> Event t (PatchDMapWithMove k m) -> m (DMap k Identity, Event t (PatchDMapWithMove k Identity))

    reflex Reflex.Adjustable.Class

    Traverses a DMap of Adjustable actions, running each of them. The provided Event of patches to the DMap can add, remove, update, move, or swap values.

  8. traverseDMapWithKeyWithAdjust :: (Adjustable t m, GCompare k) => (forall a . () => k a -> v a -> m (v' a)) -> DMap k v -> Event t (PatchDMap k v) -> m (DMap k v', Event t (PatchDMap k v'))

    reflex Reflex.Adjustable.Class

    No documentation available.

  9. traverseDMapWithKeyWithAdjustWithMove :: (Adjustable t m, GCompare k) => (forall a . () => k a -> v a -> m (v' a)) -> DMap k v -> Event t (PatchDMapWithMove k v) -> m (DMap k v', Event t (PatchDMapWithMove k v'))

    reflex Reflex.Adjustable.Class

    No documentation available.

  10. traverseIntMapWithKeyWithAdjust :: Adjustable t m => (Key -> v -> m v') -> IntMap v -> Event t (PatchIntMap v) -> m (IntMap v', Event t (PatchIntMap v'))

    reflex Reflex.Adjustable.Class

    No documentation available.

Page 51 of many | Previous | Next