Repository navigation
Add (.:!) and partially revert d0414be92ee6bf5b4c057978955b89d111767dab - #288
Conversation
1df7cad to
c613f92
Compare
ed7a12b to
7565ae6
Compare
|
+1 |
|
great, this needs to be merged. only problem is that we have a bunch of operators with slightly different semantics. A big improvement would be to give a non-operator name to all of them. And better yet would be to make combinators to describe how maybe is treated. |
|
Probably shouldn't be part of this PR, but I'd like to have names too. How about parseField = (.:)
parseOptionalField = (.:?)
parseNotNullOptionalField = (.:!) -- this one is huge :(
withDefault = (.!=) |
|
Can we get this released now as version 0.11 to avoid breaking everyone with 0.10 ? |
|
@phadej this needs to be rebased |
7565ae6 to
2f638fd
Compare
|
Rebased (and fixed the build Please, setup travis for all of us! |
|
+1! This was almost 2 months ago - is anything happening with this? |
Add (.:!) and partially revert d0414be
|
Applied, thanks. |
|
@phadej does it make sense to apply this now that 0.10 has been released or is this a breaking change back in the other direction? |
|
@gregwebs, if the next release is |
|
But what is the point of making a 0.11 release that makes things like 0.9 if 0.10 is out? Isn't this merge 3 months late? |
|
I cannot really comment on that, as I'm author and user of |
|
This is obviously better and it would have been great to be merged before the 0.10 release. However, many people changed their code to work with 0.10. Those that did not take a compatible approach will just need to change it back to 0.9 behavior now. |
|
I am just testing if this PR actually fixes my |
|
Should this close #287? |
|
@gregwebs there are also many people who haven't upgraded their package yet (due to this and other problems with the 0.10 release), for them keeping the 0.9 semantics would be preferable. |
|
+1 I assumed the null-handling API change to be an unintended glitch that would be corrected in the next version, probably marking 0.10.0.0 as deprecated. |
Handle #83 by introducing
.:!as @gregwebs proposed (I bikeshedded.:??to.:!). Fixes undocumented breaking change in0.10Related: #287