Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setInputEchoState :: EchoState -> IO ()echo System.IO.Echo.Internal Set the terminal's input EchoState.
setDiagonal :: RateMatrix -> RateMatrixelynx-markov ELynx.MarkovProcess.RateMatrix Set the diagonal entries of a matrix such that the rows sum to 0.
setEnvironment :: EnvList a -> IO (Either String ())envy System.Envy Set environment via a ToEnv constrained type
setEnvironment' :: ToEnv a => a -> IO (Either String ())envy System.Envy Set environment directly using a value of class ToEnv
setCacheField :: HashMap CacheFieldKey (Vector Text) -> FakerSettings -> IO ()fakedata Faker No documentation available.
setCacheFile :: HashMap CacheFileKey Value -> FakerSettings -> IO ()fakedata Faker No documentation available.
setDeterministic :: FakerSettings -> FakerSettingsfakedata Faker Set the output of fakedata to be deterministic. With this you will get the same ouput for the functions every time.
λ> import qualified Faker.Name as FN λ> :t FN.name FN.name :: Fake Text λ> generateWithSettings (setDeterministic defaultFakerSettings) FN.name "Antony Langosh" λ> generateWithSettings (setDeterministic defaultFakerSettings) FN.name "Antony Langosh"
setLocale :: Text -> FakerSettings -> FakerSettingsfakedata Faker Sets the locale. Note that for any other locale apart from "en", you need to make sure that the data is acutally present. In case no data is found, NoDataFound exception will be thrown. You can check the presence of the data in a particular locale by inspecting the yml file of the corresponding locale. The file would be bundled along with the particular Hackage release.
setNonDeterministic :: FakerSettings -> FakerSettingsfakedata Faker Set the output of fakedata to be non deterministic. With this you will get different ouput for the fake functions.
λ> generateWithSettings (setNonDeterministic defaultFakerSettings) FN.name "Macy Shanahan" λ> generateWithSettings (setNonDeterministic defaultFakerSettings) FN.name "Rudy Dickinson II"
setNonDeterministicSeed :: NonDeterministicSeed -> FakerSettings -> FakerSettingsfakedata Faker Sets the NonDeterministicSeed