Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. data Set

    relational-schemas Database.Custom.PostgreSQL

    Type tag for normal aggregatings set

  2. data Set

    relational-schemas Database.Custom.SQLServer

    Type tag for normal aggregatings set

  3. data Set

    relational-schemas Database.Custom.SQLite3

    Type tag for normal aggregatings set

  4. data Set a

    verset Verset

    A set of values a.

  5. set :: ASetter s t a b -> b -> s -> t

    lens Control.Lens.Combinators

    Replace the target of a Lens or all of the targets of a Setter or Traversal with a constant value.

    (<$) ≡ set mapped
    
    >>> set _2 "hello" (1,())
    (1,"hello")
    
    >>> set mapped () [1,2,3,4]
    [(),(),(),()]
    
    Note: Attempting to set a Fold or Getter will fail at compile time with an relatively nice error message.
    set :: Setter s t a b    -> b -> s -> t
    set :: Iso s t a b       -> b -> s -> t
    set :: Lens s t a b      -> b -> s -> t
    set :: Traversal s t a b -> b -> s -> t
    

  6. set :: ASetter s t a b -> b -> s -> t

    lens Control.Lens.Setter

    Replace the target of a Lens or all of the targets of a Setter or Traversal with a constant value.

    (<$) ≡ set mapped
    
    >>> set _2 "hello" (1,())
    (1,"hello")
    
    >>> set mapped () [1,2,3,4]
    [(),(),(),()]
    
    Note: Attempting to set a Fold or Getter will fail at compile time with an relatively nice error message.
    set :: Setter s t a b    -> b -> s -> t
    set :: Iso s t a b       -> b -> s -> t
    set :: Lens s t a b      -> b -> s -> t
    set :: Traversal s t a b -> b -> s -> t
    

  7. set :: (MonadGen m, Ord a) => Range Int -> m a -> m (Set a)

    hedgehog Hedgehog.Gen

    Generates a set using a Range to determine the length. This may fail to generate anything if the element generator cannot produce a large enough number of unique items to satify the required set size.

  8. set :: (MonadGen m, Ord a) => Range Int -> m a -> m (Set a)

    hedgehog Hedgehog.Internal.Gen

    Generates a set using a Range to determine the length. This may fail to generate anything if the element generator cannot produce a large enough number of unique items to satify the required set size.

  9. set :: ASetter s t a b -> b -> s -> t

    microlens Lens.Micro

    set is a synonym for (.~). Setting the 1st component of a pair:

    set _1 :: x -> (a, b) -> (x, b)
    set _1 = \x t -> (x, snd t)
    
    Using it to rewrite (<$):
    set mapped :: Functor f => a -> f b -> f a
    set mapped = (<$)
    

  10. set :: forall o m . MonadIO m => o -> [AttrOp o 'AttrSet] -> m ()

    haskell-gi-base Data.GI.Base

    Set a number of properties for some object.

Page 11 of many | Previous | Next