[Haskell-cafe] persistent and safe-money packages
cma at bitemyapp.com
Thu Jan 16 20:44:22 UTC 2020
Implement the PersistField typeclass for the type.
You can find examples of how to do so in the Persistent library
On Thu, Jan 16, 2020 at 2:11 PM Debasish Ghosh <ghosh.debasish at gmail.com> wrote:
> Hi -
> I am using "persistent" for database access in Haskell. However in my domain model I have used the Dense data type from safe-money (https://hackage.haskell.org/package/safe-money) as the money datatype. It looks like this data type is not supported by default in persistent. Is there a way around ?
> Thanks in advance.
> Debasish Ghosh
> Twttr: @debasishg
> Blog: http://debasishg.blogspot.com
> Code: http://github.com/debasishg
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
Currently working on http://haskellbook.com
More information about the Haskell-Cafe