aboutsummaryrefslogtreecommitdiff
path: root/nomsu_environment.moon
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-11-11 19:01:15 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-11-11 19:01:31 -0800
commita84242b849e27147bcad8aabe04fc4bbe45d7fca (patch)
treecec7762bc0ead74da5ae5a7fa6e5d0b02250d5a2 /nomsu_environment.moon
parentefac694cc065f94f9b0d95ebb35d10bcf9a18691 (diff)
Cleaning up say/print and io.write (now you can use (say "foo" inline))
Diffstat (limited to 'nomsu_environment.moon')
-rw-r--r--nomsu_environment.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu_environment.moon b/nomsu_environment.moon
index 142abdb..1046004 100644
--- a/nomsu_environment.moon
+++ b/nomsu_environment.moon
@@ -38,7 +38,7 @@ nomsu_environment = Importer{
-- Lua stuff:
:next, unpack: unpack or table.unpack, :setmetatable, :coroutine, :rawequal, :getmetatable, :pcall,
:error, :package, :os, :require, :tonumber, :tostring, :string, :xpcall, :module,
- :print, :loadfile, :rawset, :_VERSION, :collectgarbage, :rawget, :rawlen,
+ say:print, :loadfile, :rawset, :_VERSION, :collectgarbage, :rawget, :rawlen,
:table, :assert, :dofile, :loadstring, lua_type_of:type, :select, :math, :io, :load,
:pairs, :ipairs, :jit, :_VERSION
bit: (jit or _VERSION == "Lua 5.2") and require('bitops') or nil