Remix.run Logo
layer8 13 hours ago

Or, for a boolean type, that XOR is the same as the inequality operator.

avalys 11 hours ago | parent [-]

Maybe it’s confusing because it’s misnamed?

layer8 9 hours ago | parent | next [-]

Is it? Two things are equal exactly when they aren’t exclusive.

ryandv 11 hours ago | parent | prev [-]

This is like saying the non-negative integers under addition, lists under append, and strings under concatenation are all just misnamings of the semigroup operator.

https://hackage.haskell.org/package/base-4.21.0.0/docs/Data-...