I'm currently getting Opaleye working with PostGIS and it'd be awesome if that was supported out of the box, but even if not it'd be a lot easier with a good tutorial for defining custom sql types with custom serializers (in my case using geos readHex/writeHex functions).