Storable instance for Complex

Latest on Hackage:

See all snapshots storable-complex appears in

BSD-3-Clause licensed by Jed Brown
Maintained by Carter Schonwald

Module documentation for

This version can be pinned in stack with:[email protected]:990a8b8b843c2d58d6b6f303a13b006ea444f722217c848f573d2444f391ea6a,1157

what is storable-complex?

historically, Complex a didn’t have a storable instance in base, and thus storable-complex was born!

when might i use this package?

you’re using an older ghc/version of base AND calling out to some C or fortran codes around complex numbers. You might find yourself needing this then!

when might i regret using this?

if you’re writing your own orphan instances instead of using base-orphans, you might have a bad day, use base-orphans (and storable-complex) instead!