diff options
Diffstat (limited to 'nim/printer.nim')
| -rw-r--r-- | nim/printer.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nim/printer.nim b/nim/printer.nim index 95eb840..912b8a9 100644 --- a/nim/printer.nim +++ b/nim/printer.nim @@ -13,7 +13,7 @@ proc pr_str*(m: MalType, pr = true): string = of False: result = "false" of Fun: result = "#<function>" of MalFun: result = "#<malfun>" - of Atom: result = "(atom " & m.val[].pr_str & ")" + of Atom: result = "(atom " & m.val.pr_str & ")" of Symbol: result = m.str of String: result = m.str.str_handle(pr) of Number: result = $m.number |
