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.

  1. listToMaybe :: [a] <-> Maybe a

    invertible Data.Invertible.Maybe

    Convert between (the head of) a (singleton) list and Maybe (see listToMaybe). (invert maybeToList)

  2. listTrue :: forall k (m :: Type -> Type) a . (Mapping k m, FoldableWithIndex k m, Ord k, Ord a) => Set a -> Decision k m a Bool -> [Map a k]

    mappings Data.Mapping.Decision

    All true values (may be a very long list even for reasonable Decisions)

  3. listify :: Mealy a b -> Mealy [a] [b]

    mealy Data.Mealy

    Convert a Mealy to a Mealy operating on lists.

  4. listConversations :: ConversationStore m => m [Conversation]

    ollama-haskell Data.Ollama.Conversation

    Lists all conversations in the store.

  5. 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 ...])
    

  6. listToJSON :: [PersistValue] -> Text

    persistent-mtl Database.Persist.Sql.Shim

    Convert list of PersistValues into textual representation of JSON object. This is a type-constrained synonym for toJsonText.

  7. listToJSON :: [PersistValue] -> Text

    persistent-redis Database.Persist.Redis

    Convert list of PersistValues into textual representation of JSON object. This is a type-constrained synonym for toJsonText.

  8. 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!")
    

  9. listOfDecoder :: Typeable a => Decoder a -> Decoder [a]

    registry-aeson Data.Registry.Aeson.Decoder

    No documentation available.

  10. listOfEncoder :: Encoder a -> Encoder [a]

    registry-aeson Data.Registry.Aeson.Encoder

    No documentation available.

Page 29 of many | Previous | Next