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

thrift's namespace directive when generating haskell code

    XMLWordPrintableJSON

Details

    • Question
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9
    • 0.9.1
    • Haskell - Compiler
    • None
    • linux/fedora17

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            flojdek Tomasz Kupczyk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: