We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I constantly get:
InvalidLocale "/root/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/725dbf2ece650124916bdb7ed49429b9d6fa0789b33a005b976ca08cdf65d49e/8.6.5/share/x86_64-linux-ghc-8.6.5/fakedata-0.2.2/faker/lib/locales/en/star_trek.yml"
My code:
`{-# LANGUAGE OverloadedStrings #-} module Main where import AWSLambda import Data.Function import Data.Functor import Faker import Faker.TvShow.StarTrek import qualified Data.Text as T -- import Data.Text (Text) import Lib import qualified Data.Aeson as A gimme :: Fake a -> IO a gimme = generateWithSettings (setLocale "en" $ setNonDeterministic defaultFakerSettings) main :: IO () main = lambdaMain handler handler :: A.Value -> IO String handler evt = do str <- character <&> (`T.append` " is awesome") & gimme <&> T.unpack putStrLn str someFunc print evt return str
Anyone know what to do about this? I added the setLocale because I thought it'd help but it doesn't...
setLocale
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I constantly get:
InvalidLocale "/root/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/725dbf2ece650124916bdb7ed49429b9d6fa0789b33a005b976ca08cdf65d49e/8.6.5/share/x86_64-linux-ghc-8.6.5/fakedata-0.2.2/faker/lib/locales/en/star_trek.yml"
My code:
Anyone know what to do about this? I added the
setLocale
because I thought it'd help but it doesn't...The text was updated successfully, but these errors were encountered: