An experimental rewrite of purescript-foreign