Hoogle Search

Within LTS Haskell 24.58 (ghc-9.10.3)

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

  1. data ModuleHead l

    haskell-src-exts Language.Haskell.Exts.Syntax

    The head of a module, including the name and export specification.

  2. ModuleHead :: l -> ModuleName l -> Maybe (WarningText l) -> Maybe (ExportSpecList l) -> ModuleHead l

    haskell-src-exts Language.Haskell.Exts.Syntax

    No documentation available.

  3. unsafeHead :: MonoFoldable mono => mono -> Element mono

    mono-traversable Data.MonoTraversable

    Equivalent to headEx.

  4. module Text.Parser.LookAhead

    Parsers that can lookAhead.

  5. class Parsing m => LookAheadParsing (m :: Type -> Type)

    parsers Text.Parser.LookAhead

    Additional functionality needed to describe parsers independent of input type.

  6. lookAhead :: LookAheadParsing m => m a -> m a

    parsers Text.Parser.LookAhead

    lookAhead p parses p without consuming any input.

  7. poHeaderWS :: ParseOutput -> Lines

    string-interpolate Data.String.Interpolate.Parse

    No documentation available.

  8. _head :: Cons s s a a => Traversal' s a

    rio RIO.Lens

    _head traverses the 1st element of something (usually a list, but can also be a Seq, etc):

    >>> [1..5] ^? _head
    Just 1
    
    It can be used to modify too, as in this example where the 1st letter of a sentence is capitalised:
    >>> "mary had a little lamb." & _head %~ toTitle
    "Mary had a little lamb."
    
    The reason it's a traversal and not a lens is that there's nothing to traverse when the list is empty:
    >>> [] ^? _head
    Nothing
    
    This package only lets you use _head on lists, but if you use microlens-ghc you get instances for ByteString and Seq, and if you use microlens-platform you additionally get instances for Text and Vector.

  9. unsafeHead :: Vector a -> a

    rio RIO.Vector.Boxed.Unsafe

    No documentation available.

  10. unsafeHeadM :: Monad m => Vector a -> m a

    rio RIO.Vector.Boxed.Unsafe

    No documentation available.

Page 173 of many | Previous | Next