1
0
forked from GitHub/gf-core

improve the documentation for PGF2

This commit is contained in:
krasimir
2017-01-25 20:30:54 +00:00
parent 3279210cd7
commit 00f15826af
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}