Skip to content

Commit

Permalink
Note commutativity for new operations
Browse files Browse the repository at this point in the history
  • Loading branch information
kozross committed May 9, 2024
1 parent e3f267d commit f014f20
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,12 @@ isCommutative = \case
MkNilPairData -> False
IntegerToByteString -> False
ByteStringToInteger -> False
-- Currently, this requires commutativity in all arguments, which the
-- logical operations are not.
BitwiseLogicalAnd -> False
BitwiseLogicalOr -> False
BitwiseLogicalXor -> False
BitwiseLogicalComplement -> False
ReadBit -> False
WriteBits -> False
ReplicateByteString -> False

0 comments on commit f014f20

Please sign in to comment.