diff options
| author | Rich Hickey <richhickey@gmail.com> | 2006-05-23 18:12:54 +0000 |
|---|---|---|
| committer | Rich Hickey <richhickey@gmail.com> | 2006-05-23 18:12:54 +0000 |
| commit | 8800e169cf12df893fdd89c8e93edb36f8e5388e (patch) | |
| tree | 0b7c32db9b7e4e2d3e7951a5b066220ac9d5ba22 /src/cli/runtime/AMap.cs | |
| parent | 7b16ded965dfa76689d0235d4f1cf999a3f1c8a5 (diff) | |
derived Keyword from Symbol, IFn
Diffstat (limited to 'src/cli/runtime/AMap.cs')
| -rw-r--r-- | src/cli/runtime/AMap.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cli/runtime/AMap.cs b/src/cli/runtime/AMap.cs index 9db0a525..a34e1560 100644 --- a/src/cli/runtime/AMap.cs +++ b/src/cli/runtime/AMap.cs @@ -22,15 +22,15 @@ public class AMap HybridDictionary attrs; public static int INITIAL_SIZE = 7; -public Object put(Indexer key, Object val) +public Object put(Keyword key, Object val) { if(attrs == null) attrs = new HybridDictionary(INITIAL_SIZE); attrs[key] = val; return val; - } - -public Object get(Indexer key) + }
+
+public Object get(Keyword key) { if(attrs == null) return null; |
