mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 11:19:32 -06:00
"Committed_by_peb"
This commit is contained in:
@@ -102,6 +102,7 @@ isZeroTok t = case t of
|
||||
strTok :: Ss -> [(Ss,[String])] -> Str
|
||||
strTok ds vs = Str [TN ds vs]
|
||||
|
||||
prStr :: Str -> String
|
||||
prStr = prQuotedString . sstr
|
||||
|
||||
plusStr :: Str -> Str -> Str
|
||||
|
||||
@@ -30,6 +30,8 @@ newtype TrieT a b = TrieT ([(a,TrieT a b)],[b])
|
||||
newtype Trie a b = Trie (Map a (Trie a b), [b])
|
||||
|
||||
emptyTrieT = TrieT ([],[])
|
||||
|
||||
emptyTrie :: Trie a b
|
||||
emptyTrie = Trie (empty,[])
|
||||
|
||||
optimize :: (Ord a,Eq b) => TrieT a b -> Trie a b
|
||||
|
||||
Reference in New Issue
Block a user