Stephen J. Turnbull wrote: > Nick Coghlan writes: > > > However, while I'd still be a little happier if the .ip attribute > > went away all together and another means was found to conveniently > > associate an IPAddress and an IPNetwork, keeping it doesn't bother > > me anywhere near as much as having network equivalence defined in > > terms of something other than the network ID and the netmask. > > s/equivalence/equality/ > > There are several notions of equivalence in play, and all can be > implemented as methods. The question is which one is going to be "==". I have just enough pure math in my educational background to think of 'equality' as the 'default equivalence class', but yes, the meaning of "==" is exactly what I was referring to. Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia ---------------------------------------------------------------
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4