You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "David Reiss (JIRA)" <ji...@apache.org> on 2010/01/26 05:10:34 UTC

[jira] Commented: (THRIFT-691) Haskell compiler blocks prelude definition that it needs

    [ https://issues.apache.org/jira/browse/THRIFT-691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804880#action_12804880 ] 

David Reiss commented on THRIFT-691:
------------------------------------

Iain signed off on this.  I think it would look much better split onto separate lines in the source (trivial using string literal concatenation).  Do you want to resubmit the patch, or do you want me to make the change before committing?

> Haskell compiler blocks prelude definition that it needs
> --------------------------------------------------------
>
>                 Key: THRIFT-691
>                 URL: https://issues.apache.org/jira/browse/THRIFT-691
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Haskell)
>            Reporter: Sasha Rush
>         Attachments: haskellcompiler.patch
>
>
> The haskell compiler is conservative about importing prelude definitions so they don't overlap with gen'd code. For instance, zip could conflict with a users declaration. This needs a better long term fix, but for now add some definitions to the list that are clearly necessary - (minus), $, and Double, which you need for any non-trivial problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.