assert(loadstring(string.format('return %s', something)))()
The call of assert
is only for debug-friendly.
Blogged by Ujihisa. Standard methods of programming and thoughts including Clojure, Vim, LLVM, Haskell, Ruby and Mathematics written by a Japanese programmer. github/ujihisa
assert(loadstring(string.format('return %s', something)))()
The call of assert
is only for debug-friendly.
No comments:
Post a Comment