Tomasz Kupczyk created THRIFT-1791:
--------------------------------------
Summary: 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
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