You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certainly getX (setX l a) == l are desired identities, so this is a bug.
Other identities that should hold but are violated relate to appendListR:
appendListR l (setR [] a) == setR l a
setR (getR a ++ l) a == appendListR l a
In your submission you are also encouraged to:
Add the tests you wrote in a new file tests/Modify.elm in a format similar to the other test files - separate Test for each method, and using tests/Common/Utils.elm.
Describe this behavior in the documentation like this.
setR
reverses its argument. For example,setR [4, 5, 6] [ 1 * 2 * 3 ] == [ 1 * 2 * 6 5 4 ]
.Would you like me to submit a fix?
Attached: a property test suite that helped me diagnose the issue
The text was updated successfully, but these errors were encountered: