Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-691

Haskell compiler blocks prelude definition that it needs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.3
    • Haskell - Compiler
    • None
    • Patch Available

    Description

      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.

      Attachments

        1. haskellcompiler.patch
          0.9 kB
          Sasha Rush

        Activity

          People

            srush Sasha Rush
            srush Sasha Rush
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: