Hi Clinton,
Sadly, GHC does not support what you want. I don't really have much more to add
to your post, which accurately describes the problem and correctly describes
why we can't have one compiled function that works at multiple representations.
The canonical ticket for this kind of feature
Hi all!
We're incrementally transitioning some of our mail sending to a new
server. This list is one of the first being migrated to be relayed
through the new server (we're also moving the ghc steering-committee
list). If sending or receiving is dodgier than usual, please let me
know!
--Gershom
_