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.
-
hedgehog Hedgehog.Internal.Report No documentation available.
-
hedgehog Hedgehog.Internal.Report No documentation available.
-
hedgehog Hedgehog.Internal.Report No documentation available.
-
hedgehog Hedgehog.Internal.Report No documentation available.
_head :: Cons s s a a => Traversal' s amicrolens Lens.Micro _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.BadProxyHeader :: String -> InvalidRequestwarp Network.Wai.Handler.Warp No documentation available.
IncompleteHeaders :: InvalidRequestwarp Network.Wai.Handler.Warp No documentation available.
OverLargeHeader :: InvalidRequestwarp Network.Wai.Handler.Warp No documentation available.
RequestHeaderFieldsTooLarge :: InvalidRequestwarp Network.Wai.Handler.Warp Since 3.3.22
promisedResponseHeaders :: PushPromise -> ResponseHeaderswarp Network.Wai.Handler.Warp Accessor for ResponseHeaders in PushPromise "content-type" must be specified. Default value: []. Since: 3.2.7