Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
listToMaybe :: [a] <-> Maybe ainvertible Data.Invertible.Maybe Convert between (the head of) a (singleton) list and Maybe (see listToMaybe). (invert maybeToList)
-
mappings Data.Mapping.Decision All true values (may be a very long list even for reasonable Decisions)
listify :: Mealy a b -> Mealy [a] [b]mealy Data.Mealy Convert a Mealy to a Mealy operating on lists.
listConversations :: ConversationStore m => m [Conversation]ollama-haskell Data.Ollama.Conversation Lists all conversations in the store.
listM :: MonadIO m => Maybe OllamaConfig -> m (Either OllamaError Models)ollama-haskell Data.Ollama.List MonadIO version of list for use in monadic contexts. Lifts the list function into a MonadIO context, allowing it to be used in monadic computations. Example:
>>> import Control.Monad.IO.Class >>> runReaderT (listM Nothing) someContext Right (Models [ModelInfo ...])
listToJSON :: [PersistValue] -> Textpersistent-mtl Database.Persist.Sql.Shim Convert list of PersistValues into textual representation of JSON object. This is a type-constrained synonym for toJsonText.
listToJSON :: [PersistValue] -> Textpersistent-redis Database.Persist.Redis Convert list of PersistValues into textual representation of JSON object. This is a type-constrained synonym for toJsonText.
listToLengthR :: ListToLengthR n => [a] -> Either (RangeR 0 (n - 1) a) (LengthR n a, [a])ranged-list Data.List.Length To take a lengthed list from a list. If an original list has not enough elements, then it return a left value.
>>> :set -XTypeApplications -XDataKinds >>> listToLengthR @4 "Hi!" Left (((NilR :++ '!') :++ 'i') :++ 'H') >>> listToLengthR @4 "Hello!" Right ((((NilR :+ 'l') :+ 'l') :+ 'e') :+ 'H',"o!")
listOfDecoder :: Typeable a => Decoder a -> Decoder [a]registry-aeson Data.Registry.Aeson.Decoder No documentation available.
listOfEncoder :: Encoder a -> Encoder [a]registry-aeson Data.Registry.Aeson.Encoder No documentation available.