forked from GitHub/gf-core
Fun -> Cat
This commit is contained in:
@@ -181,7 +181,7 @@ functionProb p fun =
|
|||||||
return (realToFrac c_prob)
|
return (realToFrac c_prob)
|
||||||
|
|
||||||
-- | List of all functions defined in the abstract syntax
|
-- | List of all functions defined in the abstract syntax
|
||||||
categories :: PGF -> [Fun]
|
categories :: PGF -> [Cat]
|
||||||
categories p =
|
categories p =
|
||||||
unsafePerformIO $ do
|
unsafePerformIO $ do
|
||||||
ref <- newIORef []
|
ref <- newIORef []
|
||||||
|
|||||||
Reference in New Issue
Block a user