Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken documentation? #2

Open
purew opened this issue Aug 8, 2017 · 0 comments
Open

Broken documentation? #2

purew opened this issue Aug 8, 2017 · 0 comments

Comments

@purew
Copy link

purew commented Aug 8, 2017

Documentation at http://package.elm-lang.org/packages/iosphere/elm-logger/1.0.1/Logger shows the following initialization code:

import Logger

loggerConfig : Logger.Config
loggerConfig =
    Logger.config Logger.Info

But this fails with a type-error. I had to specify the type as

loggerConfig : Logger.Config a 

(note the last a).

jpierson added a commit to jpierson/elm-logger that referenced this issue Feb 13, 2018
Add type parameter `a` to loggerConfig type signature. See issue iosphere#2 for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant