Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
breakOnAll :: HasCallStack => Text -> Text -> [(Text, Text)]rio RIO.Text.Partial O(n+m) Find all non-overlapping instances of needle in haystack. Each element of the returned list consists of a pair:
- The entire string prior to the kth match (i.e. the prefix)
- The kth match, followed by the remainder of the string
>>> breakOnAll "::" "" []
>>> breakOnAll "/" "a/b/c/" [("a","/b/c/"),("a/b","/c/"),("a/b/c","/")]In (unlikely) bad cases, this function's time complexity degrades towards O(n*m). The needle parameter may not be empty.periodAllDays :: DayPeriod p => p -> [Day]rio RIO.Time A list of all the days in this period.
weekAllDays :: DayOfWeek -> Day -> [Day]rio RIO.Time Returns a week containing the given Day where the first day is the DayOfWeek specified. Examples:
>>> weekAllDays Sunday (YearMonthDay 2022 02 21) [YearMonthDay 2022 2 20 .. YearMonthDay 2022 2 26]
>>> weekAllDays Monday (YearMonthDay 2022 02 21) [YearMonthDay 2022 2 21 .. YearMonthDay 2022 2 27]
>>> weekAllDays Tuesday (YearMonthDay 2022 02 21) [YearMonthDay 2022 2 15 .. YearMonthDay 2022 2 21]
SDForall :: [String] -> String -> [SimpleDoc] -> SimpleDocshakespeare Text.Hamlet.RT No documentation available.
-
An abstract interface to a unique symbol generator.
-
HTTP Network.Browser No documentation available.
getAllowBasicAuth :: BrowserAction t BoolHTTP Network.Browser No documentation available.
getAllowRedirects :: BrowserAction t BoolHTTP Network.Browser getAllowRedirects returns current setting of the do-chase-redirects flag.
setAllowBasicAuth :: Bool -> BrowserAction t ()HTTP Network.Browser setAllowBasicAuth onOff enables/disables HTTP Basic Authentication.
setAllowRedirects :: Bool -> BrowserAction t ()HTTP Network.Browser setAllowRedirects onOff toggles the willingness to follow redirects (HTTP responses with 3xx status codes).