summaryrefslogtreecommitdiff
path: root/src/GF/Infra
diff options
context:
space:
mode:
authoraarne <unknown>2005-11-15 10:43:32 +0000
committeraarne <unknown>2005-11-15 10:43:32 +0000
commit1fd1f44fcc81149b286992dd13b3128d42c4736e (patch)
tree26361d155c0fe4291fd49ce55d610ff156dd32d7 /src/GF/Infra
parentf339b8839bcb25a57cb22baa3342032892f9be63 (diff)
extended cf syntax; Det experiment
Diffstat (limited to 'src/GF/Infra')
-rw-r--r--src/GF/Infra/Ident.hs11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/GF/Infra/Ident.hs b/src/GF/Infra/Ident.hs
index 5259af228..5ed860990 100644
--- a/src/GF/Infra/Ident.hs
+++ b/src/GF/Infra/Ident.hs
@@ -5,9 +5,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
--- > CVS $Date: 2005/04/21 16:22:35 $
--- > CVS $Author: bringert $
--- > CVS $Revision: 1.7 $
+-- > CVS $Date: 2005/11/15 11:43:33 $
+-- > CVS $Author: aarne $
+-- > CVS $Revision: 1.8 $
--
-- (Description of the module)
-----------------------------------------------------------------------------
@@ -73,7 +73,10 @@ wildIdent :: Ident
wildIdent = identW
isWildIdent :: Ident -> Bool
-isWildIdent = (== wildIdent)
+isWildIdent x = case x of
+ IW -> True
+ IC "_" -> True
+ _ -> False
newIdent :: Ident
newIdent = identC "#h"