You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Neuman Vong (JIRA)" <ji...@apache.org> on 2013/09/14 00:38:52 UTC

[jira] [Updated] (THRIFT-2186) Build failure of Haskell example

     [ https://issues.apache.org/jira/browse/THRIFT-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neuman Vong updated THRIFT-2186:
--------------------------------

    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"}'

    
> Build failure of Haskell example
> --------------------------------
>
>                 Key: THRIFT-2186
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2186
>             Project: Thrift
>          Issue Type: Bug
>          Components: Tutorial
>            Reporter: Neuman Vong
>
> 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"}'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira