diff options
| author | Joel Martin <github@martintribe.org> | 2014-10-09 19:14:43 -0500 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2014-10-09 19:14:43 -0500 |
| commit | f2c9811fd8cbb205fad68952ebc1ba5d310f148d (patch) | |
| tree | 0a1d80a4ccfb6378014098475c70a90093b7efa7 /go/src/step8_macros | |
| parent | ad7e866ea1d4d035d876e58bca681a72099449af (diff) | |
| download | mal-f2c9811fd8cbb205fad68952ebc1ba5d310f148d.tar.gz mal-f2c9811fd8cbb205fad68952ebc1ba5d310f148d.zip | |
go: add hash-map support.
Diffstat (limited to 'go/src/step8_macros')
| -rw-r--r-- | go/src/step8_macros/step8_macros.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/src/step8_macros/step8_macros.go b/go/src/step8_macros/step8_macros.go index 82572d3..7a5c0e5 100644 --- a/go/src/step8_macros/step8_macros.go +++ b/go/src/step8_macros/step8_macros.go @@ -99,7 +99,7 @@ func eval_ast(ast MalType, env EnvType) (MalType, error) { lst = append(lst, exp) } return Vector{lst}, nil - } else if Hash_Map_Q(ast) { + } else if HashMap_Q(ast) { m := ast.(map[string]MalType) new_hm := map[string]MalType{} for k, v := range m { |
