evanrelf / drama

🎭 Actor library for Haskell
https://hackage.haskell.org/package/drama
BSD 3-Clause "New" or "Revised" License
30 stars 1 forks source link

`Eq` instance for `Address`? #15

Open NicolasT opened 1 year ago

NicolasT commented 1 year ago

Unagi's InChan has an Eq instance, so I imagine Address could get (a derived) one as well. This would help keeping Addresses in some list (and removing one of them later).

evanrelf commented 1 year ago

I agree, that would be a useful addition. I can't think of a reason the library should forbid equating Addresses, off the top of my head.