diff options
Diffstat (limited to 'src/GF/Conversion/RemoveSingletons.hs')
| -rw-r--r-- | src/GF/Conversion/RemoveSingletons.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/GF/Conversion/RemoveSingletons.hs b/src/GF/Conversion/RemoveSingletons.hs index 0bb5c9ff7..6c3a6e7c7 100644 --- a/src/GF/Conversion/RemoveSingletons.hs +++ b/src/GF/Conversion/RemoveSingletons.hs @@ -4,9 +4,9 @@ -- Stability : (stable) -- Portability : (portable) -- --- > CVS $Date: 2005/04/21 16:21:54 $ --- > CVS $Author: bringert $ --- > CVS $Revision: 1.3 $ +-- > CVS $Date: 2005/05/09 09:28:44 $ +-- > CVS $Author: peb $ +-- > CVS $Revision: 1.4 $ -- -- Instantiating all types which only have one single element. -- @@ -30,7 +30,7 @@ import Data.List (mapAccumL) convertGrammar :: SGrammar -> SGrammar convertGrammar grammar = if singles == emptyAssoc then grammar - else tracePrt "RemoveSingletons - nr. non-singleton rules" (prt . length) $ + else tracePrt "RemoveSingletons - non-singleton rules" (prt . length) $ map (convertRule singles) grammar where singles = calcSingletons grammar |
