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.

  1. setInputEchoState :: EchoState -> IO ()

    echo System.IO.Echo.Internal

    Set the terminal's input EchoState.

  2. setDiagonal :: RateMatrix -> RateMatrix

    elynx-markov ELynx.MarkovProcess.RateMatrix

    Set the diagonal entries of a matrix such that the rows sum to 0.

  3. setEnvironment :: EnvList a -> IO (Either String ())

    envy System.Envy

    Set environment via a ToEnv constrained type

  4. setEnvironment' :: ToEnv a => a -> IO (Either String ())

    envy System.Envy

    Set environment directly using a value of class ToEnv

  5. setCacheField :: HashMap CacheFieldKey (Vector Text) -> FakerSettings -> IO ()

    fakedata Faker

    No documentation available.

  6. setCacheFile :: HashMap CacheFileKey Value -> FakerSettings -> IO ()

    fakedata Faker

    No documentation available.

  7. setDeterministic :: FakerSettings -> FakerSettings

    fakedata 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"
    

  8. setLocale :: Text -> FakerSettings -> FakerSettings

    fakedata 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.

  9. setNonDeterministic :: FakerSettings -> FakerSettings

    fakedata 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"
    

  10. setNonDeterministicSeed :: NonDeterministicSeed -> FakerSettings -> FakerSettings

    fakedata Faker

    Sets the NonDeterministicSeed

Page 475 of many | Previous | Next