mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-06 09:42:50 -06:00
Renamed removeEmptyCats to bottomUpFilter.
This commit is contained in:
@@ -87,8 +87,8 @@ stateGFCC :: StateGrammar -> GFCC
|
||||
stateGFCC = mkGFCC . mkCanon2gfcc . stateGrammarST
|
||||
|
||||
-- | Remove productions which use categories which have no productions
|
||||
removeEmptyCats :: CFRules -> CFRules
|
||||
removeEmptyCats = fix removeEmptyCats'
|
||||
bottomUpFilter :: CFRules -> CFRules
|
||||
bottomUpFilter = fix removeEmptyCats'
|
||||
where
|
||||
removeEmptyCats' :: CFRules -> CFRules
|
||||
removeEmptyCats' rs = k'
|
||||
|
||||
Reference in New Issue
Block a user