1
0
forked from GitHub/gf-core

Added printer for regular grammars. Changed some foldrs to foldls to improve stack usage.

This commit is contained in:
bringert
2005-09-12 15:10:23 +00:00
parent ddda900d53
commit 01ef25792c
4 changed files with 28 additions and 17 deletions

View File

@@ -5,9 +5,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
-- > CVS $Date: 2005/09/12 15:46:44 $
-- > CVS $Date: 2005/09/12 16:10:23 $
-- > CVS $Author: bringert $
-- > CVS $Revision: 1.20 $
-- > CVS $Revision: 1.21 $
--
-- This module does some useful transformations on CFGs.
--
@@ -135,7 +135,6 @@ anyUsedBy cs (CFRule _ ss _) = any (`elem` cs) (filterCats ss)
mkName :: String -> Name
mkName n = Name (IC n) []
--
-- * Utilities
--