hslua-module-text alternatives and similar packages
Based on the "hslua" category.
Alternatively, view hslua-module-text alternatives based on common mentions on social networks and blogs.
-
hslua-module-system
DISCONTINUED. HsLua module for system and directory functions. This repository has been moved to the hslua monorepo.
Do you think we are missing an alternative of hslua-module-text or a related project?
README
HsLua Module: Text
An UTF-8 aware subset of Lua's string module. The functions provided by this
module are upper, lower, len, reverse, and sub.
Intended usage for this package is to preload it by adding the loader function
to package.preload. Note that the Lua package library must have already been
loaded before the loader can be added.
Example
loadProg :: Lua Status
loadProg = do
openlibs
preloadTextModule "text"
dostring $ "text = require 'text'\n"
++ "print(text.upper 'hello')"
License
This package is licensed under the MIT license. See [LICENSE](LICENSE) for
details.
*Note that all licence references and agreements mentioned in the hslua-module-text README section above
are relevant to that project's source code only.