Hoogle Search

Within LTS Haskell 24.49 (ghc-9.10.3)

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

  1. unsafeFromListFL :: Focus -> [a] -> FocusList a

    focuslist Data.FocusList

    Unsafely create a FocusList. This does not check that the focus actually exists in the list. This is an internal function and should generally not be used. It is only safe to use if you ALREADY know the Focus is within the list. Instead, you should generally use fromListFL. The following is an example of using unsafeFromListFL correctly.

    >>> unsafeFromListFL (Focus 1) [0..2]
    FocusList (Focus 1) [0,1,2]
    
    >>> unsafeFromListFL NoFocus []
    FocusList NoFocus []
    
    unsafeFromListFL can also be used uncorrectly. The following is an example of unsafeFromListFL allowing you to create a FocusList that does not pass invariantFL.
    >>> unsafeFromListFL (Focus 100) [0..2]
    FocusList (Focus 100) [0,1,2]
    
    If fromListFL returns a Just FocusList, then unsafeFromListFL should return the same FocusList. complexity: O(n) where n is the length of the input list.

  2. pMapFromList :: forall (c :: Type -> Type) v . NonEmptyLike c => [(Text, v)] -> PMap c v

    greskell Data.Greskell.PMap

    Make a PMap from list of entries.

  3. headersFromList :: [(ByteString, ByteString)] -> Headers

    hw-kafka-client Kafka.Types

    No documentation available.

  4. unzipFromListN2 :: (Storable a, Storable b) => Int -> [(a, b)] -> (Vector a, Vector b)

    hw-prim HaskellWorks.Data.Vector.Storable

    No documentation available.

  5. jhFromList :: [(String, JExpr)] -> JVal

    jmacro Language.Javascript.JMacro

    No documentation available.

  6. jtFromList :: JType -> [(String, JType)] -> JType

    jmacro Language.Javascript.JMacro

    No documentation available.

  7. toJExprFromList :: ToJExpr a => [a] -> JExpr

    jmacro Language.Javascript.JMacro

    No documentation available.

  8. cycleFromList :: [Proposal a] -> Cycle a

    mcmc Mcmc

    Create a Cycle from a list of Proposals; use RandomO, but see setOrder.

  9. cycleFromList :: [Proposal a] -> Cycle a

    mcmc Mcmc.Cycle

    Create a Cycle from a list of Proposals; use RandomO, but see setOrder.

  10. importsFromList :: [ImportLine] -> Map Text ImportLine

    purescript-bridge Language.PureScript.Bridge.Printer

    No documentation available.

Page 76 of many | Previous | Next