agda2hs
agda2hs copied to clipboard
[ fix #302 ] Move _/=_ function out of the Eq record
@jespercockx The golden file is missing; feel free to cherry-pick the fix from the issue302-fix
branch: https://github.com/agda/agda2hs/commit/a9d79b81299e4ea245634b561f1b7e320d67aa83
If we want to stay faithful to the Haskell interface, shouldn't _/= _
be turned into a record field instead?
If we want to stay faithful to the Haskell interface, shouldn't _/= _ be turned into a record field instead?
Ideally yes, but (1) it would break current code and (2) there seem to be some plans to move (/=)
out of the type class in the Haskell prelude.