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

The zip code example does not compile. #32

Closed
pygy opened this issue Oct 12, 2012 · 1 comment
Closed

The zip code example does not compile. #32

pygy opened this issue Oct 12, 2012 · 1 comment

Comments

@pygy
Copy link

pygy commented Oct 12, 2012

http://elm-lang.org/edit/examples/JavaScript/ZipCodes.elm

I get a compile error in Firefox 16 and Chrome 22. Mac OS X 10.8:

Your browser may not be supported. Are you using a modern browser?


Runtime Error in Main module:
TypeError: undefined is not a function

The problem may stem from an improper usage of:
Success, findWithDefault, fromString, gets
@evancz
Copy link
Member

evancz commented Oct 12, 2012

Crap, this is a versioning issue. The HTTP API is going to change in the next release and the example is caught in the middle.

It should work now!

@evancz evancz closed this as completed Oct 25, 2012
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

2 participants