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

Update to Elm 0.19. #7

Closed
wants to merge 4 commits into from

Conversation

FranklinChen
Copy link
Contributor

Address #6 with the caveat that we are waiting on haskell-servant/servant-elm#44 for everything to fully work.

client/Main.elm Outdated
import Html.Events exposing (..)
import Http
import Api exposing (..)
import Debug
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you get rid of Debug since it is not allowed to be used in production code or published packages? In 0.19 there are only functions for numbers and toString has to be implemented by the user.

https://package.elm-lang.org/packages/elm/core/latest/Debug

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll fix this up later tonight. I was just getting something minimally working, and know Debug got deprecated (and a good thing too!).

@andys8
Copy link
Collaborator

andys8 commented Oct 10, 2018

That's fast. Thanks a lot, @FranklinChen

@andys8
Copy link
Collaborator

andys8 commented Oct 11, 2018

Looks like the Makefile has to be changed and there is still one line with Debug in use.

@FranklinChen
Copy link
Contributor Author

Unfortunately, it's hard to test and view changes when the Elm code still doesn't compile because the generated Api.elm still isn't right.

@FranklinChen FranklinChen mentioned this pull request Jun 2, 2019
@andys8 andys8 mentioned this pull request Aug 4, 2019
@andys8
Copy link
Collaborator

andys8 commented Aug 4, 2019

#8 is based on the work done in this PR. Thanks @FranklinChen

@andys8 andys8 closed this Aug 4, 2019
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

Successfully merging this pull request may close these issues.

2 participants