Hoogle Search

Within LTS Haskell 24.20 (ghc-9.10.3)

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

  1. (-<.>) :: ShortByteString -> ShortByteString -> ShortByteString

    filepath System.OsPath.Posix.Internal

    Remove the current extension and add another, equivalent to replaceExtension.

    "/directory/path.txt" -<.> "ext" == "/directory/path.ext"
    "/directory/path.txt" -<.> ".ext" == "/directory/path.ext"
    "foo.o" -<.> "c" == "foo.c"
    

  2. (<.>) :: ShortByteString -> ShortByteString -> ShortByteString

    filepath System.OsPath.Posix.Internal

    Add an extension, even if there is already one there, equivalent to addExtension.

    "/directory/path" <.> "ext" == "/directory/path.ext"
    "/directory/path" <.> ".ext" == "/directory/path.ext"
    

  3. (-<.>) :: WindowsPath -> WindowsString -> WindowsPath

    filepath System.OsPath.Windows

    Remove the current extension and add another, equivalent to replaceExtension.

    "/directory/path.txt" -<.> "ext" == "/directory/path.ext"
    "/directory/path.txt" -<.> ".ext" == "/directory/path.ext"
    "foo.o" -<.> "c" == "foo.c"
    

  4. (<.>) :: WindowsPath -> WindowsString -> WindowsPath

    filepath System.OsPath.Windows

    Add an extension, even if there is already one there, equivalent to addExtension.

    "/directory/path" <.> "ext" == "/directory/path.ext"
    "/directory/path" <.> ".ext" == "/directory/path.ext"
    

  5. (-<.>) :: ShortByteString -> ShortByteString -> ShortByteString

    filepath System.OsPath.Windows.Internal

    Remove the current extension and add another, equivalent to replaceExtension.

    "/directory/path.txt" -<.> "ext" == "/directory/path.ext"
    "/directory/path.txt" -<.> ".ext" == "/directory/path.ext"
    "foo.o" -<.> "c" == "foo.c"
    

  6. (<.>) :: ShortByteString -> ShortByteString -> ShortByteString

    filepath System.OsPath.Windows.Internal

    Add an extension, even if there is already one there, equivalent to addExtension.

    "/directory/path" <.> "ext" == "/directory/path.ext"
    "/directory/path" <.> ".ext" == "/directory/path.ext"
    

  7. (<*.) :: Parser a -> ByteString -> Parser a

    attoparsec Data.Attoparsec.ByteString.Char8

    Deprecated: This is no longer necessary, and will be removed. Use <* instead.

  8. (<*.) :: Parser a -> Text -> Parser a

    attoparsec Data.Attoparsec.Text

    Deprecated: This is no longer necessary, and will be removed. Use <* instead.

  9. (<*.) :: Parser a -> Text -> Parser a

    attoparsec Data.Attoparsec.Text.Lazy

    Deprecated: This is no longer necessary, and will be removed. Use <* instead.

  10. (^..) :: s -> Getting (Endo [a]) s a -> [a]

    lens Control.Lens.Fold

    A convenient infix (flipped) version of toListOf.

    >>> [[1,2],[3]]^..id
    [[[1,2],[3]]]
    
    >>> [[1,2],[3]]^..traverse
    [[1,2],[3]]
    
    >>> [[1,2],[3]]^..traverse.traverse
    [1,2,3]
    
    >>> (1,2)^..both
    [1,2]
    
    toList xs ≡ xs ^.. folded
    (^..) ≡ flip toListOf
    
    (^..) :: s -> Getter s a     -> a :: s -> Fold s a       -> a :: s -> Lens' s a      -> a :: s -> Iso' s a       -> a :: s -> Traversal' s a -> a :: s -> Prism' s a     -> [a]
    

Page 97 of many | Previous | Next