mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-26 11:18:55 -06:00
revert to printing the unique id in ppBracketedString
This commit is contained in:
@@ -170,7 +170,7 @@ showBracketedString :: BracketedString -> String
|
|||||||
showBracketedString = render . ppBracketedString
|
showBracketedString = render . ppBracketedString
|
||||||
|
|
||||||
ppBracketedString (Leaf t) = text t
|
ppBracketedString (Leaf t) = text t
|
||||||
ppBracketedString (Bracket cat fid fid' index _ _ bss) = parens (ppCId cat <> colon <> int fid' <+> hsep (map ppBracketedString bss))
|
ppBracketedString (Bracket cat fid fid' index _ _ bss) = parens (ppCId cat <> colon <> int fid <+> hsep (map ppBracketedString bss))
|
||||||
|
|
||||||
-- | The length of the bracketed string in number of tokens.
|
-- | The length of the bracketed string in number of tokens.
|
||||||
lengthBracketedString :: BracketedString -> Int
|
lengthBracketedString :: BracketedString -> Int
|
||||||
|
|||||||
Reference in New Issue
Block a user