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

Jake Farrell commented on THRIFT-1791:
--------------------------------------

I closed the issue due to it being labeled a question. The haskell generator as 
of 0.9 and the dev snapshot does not currently use the namespace directive, a 
patch for this would be great or please feel free to create a new ticket for 
someone to take a look at adding it
                
> thrift's namespace directive when generating haskell code
> ---------------------------------------------------------
>
>                 Key: THRIFT-1791
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1791
>             Project: Thrift
>          Issue Type: Question
>          Components: Haskell - Compiler
>    Affects Versions: 0.9
>         Environment: linux/fedora17
>            Reporter: Tomasz Kupczyk
>            Priority: Minor
>             Fix For: 1.0
>
>
> Hello, I was wondering what effect has the namespace directive, or what 
> effect should it have, when generating haskell code, let's assume I have a 
> product.thrift file:
> namespace hs A.B.C
> struct Product {
> 1: i32 cost
> }
> Should this generate a haskell file that creates a module like this:
> module Product where
> [...]
> or like this:
> module A.B.C.Product where
> [...]
> For me it picks the first version.
> Thanks.

--
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

Reply via email to