Hoogle Search
Within LTS Haskell 24.68 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
Erlang'read_timer :: Erlang'read_timercodec-beam Codec.Beam.Bifs No documentation available.
-
conduino Data.Conduino.Lift Turn a pipe over ReaderT into a directly parameterized pipe. Instead of getting the parameter from the globally shared ReaderT environment, give it directly instead. It can be useful to "ignore" a globally shared environment and just give the r directly and immediately.
boolReader :: (Eq a, Show a, FoldCase a, IsString a, IsString e, Monoid e) => a -> Either e Boolconfiguration-tools Configuration.Utils.CommandLine No documentation available.
eitherReadP :: Text -> ReadP a -> Text -> Either Text aconfiguration-tools Configuration.Utils.CommandLine Create an either-reader from a ReadP parser.
eitherReader :: (String -> Either String a) -> ReadM aconfiguration-tools Configuration.Utils.CommandLine Convert a function producing an Either into a reader. As an example, one can create a ReadM from an attoparsec Parser easily with
import qualified Data.Attoparsec.Text as A import qualified Data.Text as T attoparsecReader :: A.Parser a -> ReadM a attoparsecReader p = eitherReader (A.parseOnly p . T.pack)
jsonReader :: FromJSON a => ReadM aconfiguration-tools Configuration.Utils.CommandLine An option reader for a JSON value.
maybeReader :: (String -> Maybe a) -> ReadM aconfiguration-tools Configuration.Utils.CommandLine Convert a function producing a Maybe into a reader.
module Configuration.Utils.Internal.
ConfigFileReader No documentation available.
validateFileReadable :: (MonadError Text m, MonadIO m) => Text -> FilePath -> m ()configuration-tools Configuration.Utils.Validation No documentation available.
sleepThread :: Rational -> Program τ ()core-program Core.Program.Execute Pause the current thread for the given number of seconds. For example, to delay a second and a half, do:
sleepThread 1.5
(this wraps base's threadDelay)