Fix exporting of (->) instances. This is the fix from the web page with minor changes for the new continuation-passing lexer.