diff options
| author | aarne <unknown> | 2005-11-15 10:43:32 +0000 |
|---|---|---|
| committer | aarne <unknown> | 2005-11-15 10:43:32 +0000 |
| commit | 1fd1f44fcc81149b286992dd13b3128d42c4736e (patch) | |
| tree | 26361d155c0fe4291fd49ce55d610ff156dd32d7 /src/GF/Infra | |
| parent | f339b8839bcb25a57cb22baa3342032892f9be63 (diff) | |
extended cf syntax; Det experiment
Diffstat (limited to 'src/GF/Infra')
| -rw-r--r-- | src/GF/Infra/Ident.hs | 11 |
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" |
