Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
(
-<.> ) :: WindowsPath -> WindowsString -> WindowsPathfilepath 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"
(
<.> ) :: WindowsPath -> WindowsString -> WindowsPathfilepath 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"
(
-<.> ) :: ShortByteString -> ShortByteString -> ShortByteStringfilepath 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"
(
<.> ) :: ShortByteString -> ShortByteString -> ShortByteStringfilepath 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"
(
<*. ) :: Parser a -> ByteString -> Parser aattoparsec Data.Attoparsec.ByteString.Char8 Deprecated: This is no longer necessary, and will be removed. Use <* instead.
(
<*. ) :: Parser a -> Text -> Parser aattoparsec Data.Attoparsec.Text Deprecated: This is no longer necessary, and will be removed. Use <* instead.
(
<*. ) :: Parser a -> Text -> Parser aattoparsec Data.Attoparsec.Text.Lazy Deprecated: This is no longer necessary, and will be removed. Use <* instead.
(
^.. ) :: 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]
(
^@.. ) :: s -> IndexedGetting i (Endo [(i, a)]) s a -> [(i, a)]lens Control.Lens.Fold An infix version of itoListOf.
(
^. ) :: s -> Getting a s a -> alens Control.Lens.Getter View the value pointed to by a Getter or Lens or the result of folding over all the results of a Fold or Traversal that points at a monoidal values. This is the same operation as view with the arguments flipped. The fixity and semantics are such that subsequent field accesses can be performed with (.).
>>> (a,b)^._2 b
>>> ("hello","world")^._2 "world">>> import Data.Complex >>> ((0, 1 :+ 2), 3)^._1._2.to magnitude 2.23606797749979
(^.) :: s -> Getter s a -> a (^.) :: Monoid m => s -> Fold s m -> m (^.) :: s -> Iso' s a -> a (^.) :: s -> Lens' s a -> a (^.) :: Monoid m => s -> Traversal' s m -> m