Hoogle Search

Within Stackage Nightly 2026-07-01 (ghc-9.12.4)

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

  1. setLoadExtensionEnabled :: Database -> Bool -> IO (Either Error ())

    direct-sqlite Database.SQLite3.Direct

    https://www.sqlite.org/c3ref/enable_load_extension.html Enable or disable extension loading.

  2. setSharedCacheEnabled :: Bool -> IO (Either Error ())

    direct-sqlite Database.SQLite3.Direct

    https://www.sqlite.org/c3ref/enable_shared_cache.html Enable or disable shared cache for all future connections.

  3. setTrace :: Database -> Maybe (Utf8 -> IO ()) -> IO ()

    direct-sqlite Database.SQLite3.Direct

    https://www.sqlite.org/c3ref/profile.html Enable/disable tracing of SQL execution. Tracing can be disabled by setting Nothing as the logger callback. Warning: If the logger callback throws an exception, your whole program will crash. Enable only for debugging!

  4. setField :: forall (f :: Symbol) s a . HasField' f s a => a -> s -> s

    generic-optics Data.Generics.Product.Fields

    >>> setField @"age" 60 human
    Human {name = "Tunyasz", age = 60, address = "London", other = False}
    

  5. setPosition :: forall (i :: Nat) s a . HasPosition' i s a => a -> s -> s

    generic-optics Data.Generics.Product.Positions

    >>> setPosition @2 60 human
    Human {name = "Tunyasz", age = 60, address = "London"}
    

  6. setTyped :: HasType a s => a -> s -> s

    generic-optics Data.Generics.Product.Typed

    Set field at type.

  7. setHListElem :: ContainsType a c => a -> HList c -> HList c

    multistate Data.HList.ContainsType

    No documentation available.

  8. setAddr :: (Prim a, PrimMonad m) => Addr -> Int -> a -> m ()

    primitive-addr Data.Primitive.Addr

    Fill a memory block of with the given value. The length is in elements of type a rather than in bytes.

  9. setPVar# :: (MonadPrim s m, Prim a) => PVar a s -> Int# -> m ()

    pvar Data.Primitive.PVar.Unsafe

    Fill the contents of mutable variable with byte c

  10. setCarrier :: (b -> Either String c) -> SExprParser a b -> SExprParser a c

    s-cargot Data.SCargot

    Modify the carrier type for a SExprParser. This is used internally to convert between various SExpr representations, but could also be used externally to add an extra conversion layer onto a SExprParser.

    >>> import Text.Parsec (alphaNum, many1)
    
    >>> import Data.SCargot.Repr (toRich)
    
    >>> let parser = setCarrier (return . toRich) (mkParser (many1 alphaNum))
    
    >>> decode parser "(ele phant)"
    Right [RSlist [RSAtom "ele",RSAtom "phant"]]
    

Page 71 of many | Previous | Next