mlabs-haskell / lambda-buffers

LambdaBuffers toolkit for sharing types and their semantics between different languages
https://mlabs-haskell.github.io/lambda-buffers/
Apache License 2.0
29 stars 0 forks source link

Added LamVal for neq instances #163

Closed jaredponn closed 8 months ago

jaredponn commented 9 months ago

Quick PR to allow lambda buffers to generate neq instances.

Note that this implements the function /= by defining it as a /= b = not (a == b) so there certainly is more room for optimization, but this gives us correctness immediately.