nikita-volkov / postgresql-binary

Encoders and decoders for the PostgreSQL's binary format
http://hackage.haskell.org/package/postgresql-binary
MIT License
21 stars 13 forks source link

Migrated `inet` data type to types from network-ip package. #9

Closed rikvdkleij closed 7 years ago

rikvdkleij commented 7 years ago

As discussed in https://github.com/nikita-volkov/postgresql-binary/pull/7#issuecomment-285860903

rikvdkleij commented 7 years ago

Now I wonder if it it is good idea to have type alias type Inet = IPAddr.NetAddr IPAddr.IP in PostgreSQL.Binary.Data package because this type also has to be exposed in hasql

nikita-volkov commented 7 years ago

Great job! Thanks for your contribution.

I've applied a few refactorings and merged your code. It's released now.