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

Build failure of Haskell example

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.2
    • Tutorial
    • None
    • Patch Available

    Description

      Resulting in errors like:

      HaskellServer.hs:73:60:
          Couldn't match type GHC.Int.Int32'
          Expected type: Maybe GHC.Int.Int32
            Actual type: Maybe Int
          In the ($)', namely
            Data.Text.Lazy.Internal.Text'
                      with actual type Just', namely f_InvalidOperation_why' field of a record
          In the second argument of InvalidOperation
               {f_InvalidOperation_what = Just $ fromEnum $ op work,
                f_InvalidOperation_why = Just "Cannot divide by 0"}'
      

      Blocked by: THRIFT-2187 and THRIFT-1940.

      Attachments

        Activity

          People

            jfarrell Jake Farrell
            luciferous Neuman Vong
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: