-
Notifications
You must be signed in to change notification settings - Fork 39
Remove purescript-generics, upgrade dependencies #76
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
Remove purescript-generics, upgrade dependencies #76
Conversation
src/CSS/ListStyle/Image.purs
Outdated
|
||
instance showListStyleImage :: Show ListStyleImage where | ||
show = gShow | ||
show (ListStyleImage url) = "(ListStyleImage \"" <> url <> "\")" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it ok that I use quotes here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's easier (and more correct) to do:
"(ListStyleImage " <> show url <> ")"
as that will use the proper escapes for everything inside the string.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I'll squash the commits
We're probably going to assimilate this PR into a 0.12 PR (which might need a few more tweaks and more version bumps). Thanks for starting the work 👍 |
2ad1b47
to
79ecea8
Compare
Would be nice to add |
@safareli sure, but I thought it is intended to be committed, according to official docs (for the reasons mentioned there) |
@safareli added 📦-lock.json to gitignore (but tbh I think it should be checked into VCS) |
03c0760
to
3b42db0
Compare
3b42db0
to
5c9ea29
Compare
Rebased onto the latest |
This looks good, thanks! |
Should fix #73.
I had to manually implement
Show
type class in several cases