cryptosense / pkcs11

OCaml bindings for the PKCS#11 cryptographic API
BSD 2-Clause "Simplified" License
22 stars 6 forks source link

`(==)` is dangerous API #43

Closed emillon closed 7 years ago

emillon commented 7 years ago

Several modules define a (==) value. It is dangerous because it shadows Pervasives.(==), and in particular it means that removing a local open can change a function's semantics.

Using equal does not have this problem, and makes the module compatible with ppx_deriving.eq.

emillon commented 7 years ago