Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
skipManyTill :: MonadPlus m => m a -> m end -> m endnetwork-uri-template Network.URI.Template.Internal.Parse skipManyTill p end applies the parser p zero or more times skipping results until parser end succeeds. Result parsed by end is then returned. See also: manyTill, skipMany.
-
nicify-lib Text.Nicify No documentation available.
type
CouldBeAnyOf (e :: [Type]) (xs :: [Type]) = All Map CouldBe e xsoops Control.Monad.Oops Listing larger variants' constraints might amplify the noise of functions' signatures. The CouldBeAnyOfF constraint lets us specify several types a variant may contain in a single type-level list, as opposed to several independent constraints. So, we could replace, f :: (e CouldBe Int, e CouldBe Bool, e CouldBe Char) => VariantF IO e with the equivalent constraint, f :: e CouldBeAnyOf '[Int, Bool, Char] => VariantF IO e As CouldBeAnyOf is just short-hand, we can use throw just like when we have CouldBe constraints:
>>> :set -XTypeOperators >>> :{ f :: e `CouldBeAnyOf` '[Int, Bool, Char] => Variant e f = throw 'c' :}... and eliminate constraints in just the same way:>>> :{ g :: e `CouldBeAnyOf` '[Int, Bool] => Either (Variant e) Char g = catch @Char f :}type
CouldBeAnyOfF (e :: [k]) (xs :: [k]) = All Map CouldBeF e xsoops Control.Monad.Oops As with CouldBeAnyOf, we can also constrain a variant to represent several possible types, as we might with several CouldBeF constraints, using one type-level list.
type
CouldBeAnyOf (e :: [Type]) (xs :: [Type]) = All Map CouldBe e xsoops Data.Variant Listing larger variants' constraints might amplify the noise of functions' signatures. The CouldBeAnyOfF constraint lets us specify several types a variant may contain in a single type-level list, as opposed to several independent constraints. So, we could replace, f :: (e CouldBe Int, e CouldBe Bool, e CouldBe Char) => VariantF IO e with the equivalent constraint, f :: e CouldBeAnyOf '[Int, Bool, Char] => VariantF IO e As CouldBeAnyOf is just short-hand, we can use throw just like when we have CouldBe constraints:
>>> :set -XTypeOperators >>> :{ f :: e `CouldBeAnyOf` '[Int, Bool, Char] => Variant e f = throw 'c' :}... and eliminate constraints in just the same way:>>> :{ g :: e `CouldBeAnyOf` '[Int, Bool] => Either (Variant e) Char g = catch @Char f :}type
CouldBeAnyOfF (e :: [k]) (xs :: [k]) = All Map CouldBeF e xsoops Data.Variant As with CouldBeAnyOf, we can also constrain a variant to represent several possible types, as we might with several CouldBeF constraints, using one type-level list.
arrangeInsertMany :: Table columns a -> NonEmpty columns -> Maybe OnConflict -> SqlInsertopaleye Opaleye.Internal.Manipulation No documentation available.
-
opaleye Opaleye.Internal.Manipulation No documentation available.
-
opaleye Opaleye.Internal.Manipulation No documentation available.
arrangeInsertManySql :: Table columnsW columnsR -> NonEmpty columnsW -> Maybe OnConflict -> Stringopaleye Opaleye.Internal.Manipulation No documentation available.