Skip to content

Commit

Permalink
import Lua built-in string, math and table as well as Aegisub re, uni…
Browse files Browse the repository at this point in the history
…code and util methods for convenient access
  • Loading branch information
line0 committed Nov 22, 2015
1 parent 63acc29 commit a72be35
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Functional.moon
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ _function = {
true: -> true
}

util = {
_util = {
equals: DependencyControl.UnitTestSuite.UnitTest.equals
itemsEqual: DependencyControl.UnitTestSuite.UnitTest.itemsEqual
}
Expand Down Expand Up @@ -611,11 +611,11 @@ return version\register {
function: _function
:list
List: list
string: _string
math: _math
table: _table
:util
string: _table.union string, _string
math: _table.union math, _math
table: _table.union table, _table
util: _table.union util, _util
:version
re: _re
unicode: _unicode
re: _table.union re, _re
unicode: _table.union unicode, _unicode
}

0 comments on commit a72be35

Please sign in to comment.