Popularity
4.1
Stable
Activity
0.0
-
3
2
2

Monthly Downloads: 805
Programming language: Haskell
License: MIT License
Tags: Foreign     Hslua    
Latest version: v0.3.0

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.

Do you think we are missing an alternative of hslua-module-text or a related project?

Add another 'hslua' Package

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.