]> gitweb.michael.orlitzky.com - hath.git/commit
Added a new Maskable typeclass with instances Octet and IPv4Address.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 6 May 2010 01:42:47 +0000 (21:42 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 6 May 2010 01:42:47 +0000 (21:42 -0400)
commitfbd4a98a9a0996d41e3715a2698114b8a061f2cd
tree3fa2b2eb18c23715b0b30040a358fd7da5400db4
parent78e436a8b3548f41f6c9bfd1db1b318a010f1472
Added a new Maskable typeclass with instances Octet and IPv4Address.
Export octet[1-4] from IPv4Address.
Implemented a new 'contains' function for Cidrs using the Maskable class' apply_mask function.
src/Cidr.hs
src/IPv4Address.hs
src/Maskable.hs [new file with mode: 0644]