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. singletonTranslation :: TcPluginM Translation

    singletons-presburger Data.Singletons.TypeNats.Presburger

    No documentation available.

  2. singletonDisjointSet :: a -> DisjointSet a

    unbound-generics Unbound.Generics.LocallyNameless.Alpha

    singletonDisjointSet x a DisjointSet a that contains the single element x

  3. singletonRange :: DiscreteOrdered v => v -> Range v

    Ranged-sets Data.Ranged.Ranges

    A range containing a single value

  4. singletonSMap :: forall (s :: Symbol) d . KnownSymbol s => Proxy s -> Val d s -> SMap d '[s]

    bowtie Bowtie.SMap

    No documentation available.

  5. singletonMap :: IsMap map => ContainerKey map -> MapValue map -> map

    classy-prelude-yesod ClassyPrelude.Yesod

    Create a map from a single key-value pair.

  6. singletonSet :: IsSet set => Element set -> set

    classy-prelude-yesod ClassyPrelude.Yesod

    Create a set from a single element.

  7. singletonCCSLbl :: CostCentre -> G Ident

    ghc-lib GHC.StgToJS.Profiling

    No documentation available.

  8. singletonIndex :: val -> Index key val

    haskey-btree Data.BTree.Primitives.Index

    Create an index with a single value.

  9. singletonStatement :: QuasiQuoter

    hasql-th Hasql.TH

    :: Statement params row
    
    Statement producing exactly one result row. Will cause the running session to fail with the UnexpectedAmountOfRows error if it's any other.

    Examples

    >>> :t [singletonStatement|select 1 :: int2|]
    ... :: Statement () Int16
    
    >>> :{
    :t [singletonStatement|
    insert into "user" (email, name)
    values ($1 :: text, $2 :: text)
    returning id :: int4
    |]
    :}
    ...
    ... :: Statement (Text, Text) Int32
    
    Incorrect SQL:
    >>> :t [singletonStatement|elect 1|]
    ...
    |
    1 | elect 1
    |      ^
    ...
    

  10. singletonZ :: a -> Zipper a

    xmonad-contrib XMonad.Util.Stack

    No documentation available.

Page 49 of many | Previous | Next