-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Code for using the ip package with yesod -- -- Please see README.md @package persistent-ip @version 0.6.0 -- | This module provides orphan instances for the typeclasses -- PersistField and PersistFieldSql. The instances provided -- are for the data types IPv4 and Mac from the ip -- package. These instances will choose the standard text type for the -- database column. If you are using PostgreSQL, you may want to consider -- importing the Database.Persist.Net.PostgreSQL module instead. module Database.Persist.Net.Simple instance Database.Persist.Class.PersistField.PersistField Net.IPv4.IPv4 instance Database.Persist.Sql.Class.PersistFieldSql Net.IPv4.IPv4 instance Database.Persist.Class.PersistField.PersistField Net.Mac.Mac instance Database.Persist.Sql.Class.PersistFieldSql Net.Mac.Mac -- | This module provides orphan instances for data types from the -- ip package. These instances only work for PostgresSQL. The -- following PostgreSQL column types are used for each data types: -- -- module Database.Persist.Net.PostgreSQL instance Database.Persist.Class.PersistField.PersistField Net.IPv4.IPv4 instance Database.Persist.Class.PersistField.PersistField Net.IPv4.IPv4Range instance Database.Persist.Sql.Class.PersistFieldSql Net.IPv4.IPv4 instance Database.Persist.Sql.Class.PersistFieldSql Net.IPv4.IPv4Range instance Database.Persist.Class.PersistField.PersistField Net.Mac.Mac instance Database.Persist.Sql.Class.PersistFieldSql Net.Mac.Mac