Skip to content

Commit

Permalink
Merge pull request kanaka#576 from Garklein/master
Browse files Browse the repository at this point in the history
fixed mal implementation debugging comments
  • Loading branch information
wasamasa authored Jul 16, 2021
2 parents 36f758d + af78ff6 commit c7d43f6
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion impls/mal/step3_env.mal
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

;; eval
(def! eval-ast (fn* [ast env]
;; (do (prn "eval-ast" ast "/" (keys env)) )
;; (do (prn "eval-ast" ast "/" (keys @env)) )
(cond
(symbol? ast) (env-get env ast)

Expand Down
2 changes: 1 addition & 1 deletion impls/mal/step4_if_fn_do.mal
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

;; eval
(def! eval-ast (fn* [ast env]
;; (do (prn "eval-ast" ast "/" (keys env)) )
;; (do (prn "eval-ast" ast "/" (keys @env)) )
(cond
(symbol? ast) (env-get env ast)

Expand Down
2 changes: 1 addition & 1 deletion impls/mal/step6_file.mal
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

;; eval
(def! eval-ast (fn* [ast env]
;; (do (prn "eval-ast" ast "/" (keys env)) )
;; (do (prn "eval-ast" ast "/" (keys @env)) )
(cond
(symbol? ast) (env-get env ast)

Expand Down
2 changes: 1 addition & 1 deletion impls/mal/step7_quote.mal
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"else" (qq-foldr ast))))

(def! eval-ast (fn* [ast env]
;; (do (prn "eval-ast" ast "/" (keys env)) )
;; (do (prn "eval-ast" ast "/" (keys @env)) )
(cond
(symbol? ast) (env-get env ast)

Expand Down
2 changes: 1 addition & 1 deletion impls/mal/step8_macros.mal
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
ast))))

(def! eval-ast (fn* [ast env]
;; (do (prn "eval-ast" ast "/" (keys env)) )
;; (do (prn "eval-ast" ast "/" (keys @env)) )
(cond
(symbol? ast) (env-get env ast)

Expand Down
2 changes: 1 addition & 1 deletion impls/mal/step9_try.mal
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
ast))))

(def! eval-ast (fn* [ast env]
;; (do (prn "eval-ast" ast "/" (keys env)) )
;; (do (prn "eval-ast" ast "/" (keys @env)) )
(cond
(symbol? ast) (env-get env ast)

Expand Down
2 changes: 1 addition & 1 deletion impls/mal/stepA_mal.mal
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
ast))))

(def! eval-ast (fn* [ast env]
;; (do (prn "eval-ast" ast "/" (keys env)) )
;; (do (prn "eval-ast" ast "/" (keys @env)) )
(cond
(symbol? ast) (env-get env ast)

Expand Down

0 comments on commit c7d43f6

Please sign in to comment.