Changeset 6793 for src/Pugs/AST/Internals.hs
- Timestamp:
- 09/06/05 14:11:41 (3 years ago)
- Files:
-
- 1 modified
-
src/Pugs/AST/Internals.hs (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/AST/Internals.hs
r6672 r6793 702 702 instance Show VJunc where 703 703 show (MkJunc jtype _ set) = 704 (show jtype) ++ "(" ++705 (foldl (\x y ->706 if x == "" then show y707 else x ++ "," ++ show y)708 "" $ Set.elems set) ++ ")"704 (show jtype) ++ "(" ++ 705 (foldl (\x y -> 706 if x == "" then show y 707 else x ++ "," ++ show y) 708 "" $ Set.elems set) ++ ")" 709 709 710 710 {-| … … 1099 1099 1100 1100 lookupPad key (MkPad map) = case Map.lookup (possiblyFixOperatorName key) map of 1101 Just xs -> Just [tvar | (_, tvar) <- xs]1102 Nothing -> Nothing1101 Just xs -> Just [tvar | (_, tvar) <- xs] 1102 Nothing -> Nothing 1103 1103 1104 1104 {-| … … 1654 1654 , rxGlobal :: !Bool -- ^ Flag indicating \'global\' (match-all) 1655 1655 , rxNumSubs :: !Int -- ^ The number of subpatterns present. 1656 , rxStringify :: !Bool1656 , rxStringify :: !Bool 1657 1657 , rxRuleStr :: !String -- ^ The rule string, for user reference. 1658 1658 , rxAdverbs :: !Val … … 1662 1662 { rxRule :: !String -- ^ The rule string 1663 1663 , rxGlobal :: !Bool -- ^ Flag indicating \'global\' (match-all) 1664 , rxStringify :: !Bool1664 , rxStringify :: !Bool 1665 1665 , rxAdverbs :: !Val 1666 1666 }
