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.
unsafeFromListFL :: Focus -> [a] -> FocusList afocuslist 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.pMapFromList :: forall (c :: Type -> Type) v . NonEmptyLike c => [(Text, v)] -> PMap c vgreskell Data.Greskell.PMap Make a PMap from list of entries.
headersFromList :: [(ByteString, ByteString)] -> Headershw-kafka-client Kafka.Types No documentation available.
unzipFromListN2 :: (Storable a, Storable b) => Int -> [(a, b)] -> (Vector a, Vector b)hw-prim HaskellWorks.Data.Vector.Storable No documentation available.
jhFromList :: [(String, JExpr)] -> JValjmacro Language.Javascript.JMacro No documentation available.
jtFromList :: JType -> [(String, JType)] -> JTypejmacro Language.Javascript.JMacro No documentation available.
toJExprFromList :: ToJExpr a => [a] -> JExprjmacro Language.Javascript.JMacro No documentation available.
cycleFromList :: [Proposal a] -> Cycle amcmc Mcmc Create a Cycle from a list of Proposals; use RandomO, but see setOrder.
cycleFromList :: [Proposal a] -> Cycle amcmc Mcmc.Cycle Create a Cycle from a list of Proposals; use RandomO, but see setOrder.
importsFromList :: [ImportLine] -> Map Text ImportLinepurescript-bridge Language.PureScript.Bridge.Printer No documentation available.