improve the documentation for PGF2

This commit is contained in:
krasimir
2017-01-25 20:30:54 +00:00
parent 6de9636ff2
commit db0f8b0dce
4 changed files with 130 additions and 50 deletions

View File

@@ -10,6 +10,8 @@ import Control.Exception
import GHC.Ptr
import Data.Int(Int32)
-- | An abstract data type representing multilingual grammar
-- in Portable Grammar Format.
data PGF = PGF {pgf :: Ptr PgfPGF, pgfMaster :: ForeignPtr GuPool}
data Concr = Concr {concr :: Ptr PgfConcr, concrMaster :: PGF}