1
0
forked from GitHub/gf-core

library adjustments, error message clean-up

This commit is contained in:
aarne
2005-04-28 15:42:47 +00:00
parent 8b7e450f1c
commit 830f7c14bc
14 changed files with 354 additions and 339 deletions

View File

@@ -5,9 +5,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
-- > CVS $Date: 2005/04/21 16:22:25 $
-- > CVS $Author: bringert $
-- > CVS $Revision: 1.19 $
-- > CVS $Date: 2005/04/28 16:42:49 $
-- > CVS $Author: aarne $
-- > CVS $Revision: 1.20 $
--
-- Macros for constructing and analysing source code terms.
--
@@ -309,6 +309,9 @@ isPredefConstant t = case t of
Q (IC "PredefAbs") _ -> True
_ -> False
isPredefAbsType :: Ident -> Bool
isPredefAbsType c = elem c [zIdent "Int", zIdent "String"]
mkSelects :: Term -> [Term] -> Term
mkSelects t tt = foldl S t tt