mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-08-20 19:26:22 -06:00
don't use map show in type2fields
This commit is contained in:
@@ -102,7 +102,7 @@ pmcfgForm g t ctxt ty = do
|
|||||||
in apply (d+1) ms' s' ctxt (App t t2) (params:args)
|
in apply (d+1) ms' s' ctxt (App t t2) (params:args)
|
||||||
|
|
||||||
type2fields :: SourceGrammar -> Type -> [String]
|
type2fields :: SourceGrammar -> Type -> [String]
|
||||||
type2fields gr = map show . type2fields PP.empty
|
type2fields gr = type2fields PP.empty
|
||||||
where
|
where
|
||||||
type2fields d (Sort s) | s == cStr = [show d]
|
type2fields d (Sort s) | s == cStr = [show d]
|
||||||
type2fields d (RecType lbls) =
|
type2fields d (RecType lbls) =
|
||||||
|
|||||||
Reference in New Issue
Block a user