Netwire port to purescript