Skip to content

Commit

Permalink
Minor whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Bell committed Dec 5, 2015
1 parent 6f59319 commit 7152e3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 0 additions & 4 deletions bin/lumen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -553,10 +553,6 @@ function setenv(k, ...)
return(frame[k])
end
end
function _37message_handler(msg)
local i = search(msg, ": ")
return(clip(msg, i + 2))
end
local math = math
abs = math.abs
acos = math.acos
Expand Down
6 changes: 4 additions & 2 deletions main.l
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@

(define eval-print (form)
(let ((ok x trace) (guard ((get compiler 'eval) form)))
(if (not ok) (print (target js: trace
lua: (cat "error: " x "\n" trace)))
(if (not ok)
(target
js: (print trace)
lua: (print (cat "error: " x "\n" trace)))
(is? x) (print (string x)))))

(define rep (s)
Expand Down

0 comments on commit 7152e3b

Please sign in to comment.