HsLua.Module.Text

hslua-module-text-1.0.1: Lua module for text

Copyright | © 2017–2021 Albert Krewinkel
License | MIT
Maintainer | Albert Krewinkel <tarleb+hslua@zeitkraut.de>
Stability | alpha
Portability | ForeignFunctionInterface
Safe Haskell | Safe-Inferred
Language | Haskell2010

HsLua.Module.Text

Contents

- Module
  - Functions

Description

Provides a Lua module containing a selection of useful Text functions.

Synopsis

- documentedModule :: Module e
- len :: DocumentedFunction e
- lower :: DocumentedFunction e
- reverse :: DocumentedFunction e
- sub :: DocumentedFunction e
- upper :: DocumentedFunction e

# Module

documentedModule :: Module e #

The `text` module.

## Functions

len :: DocumentedFunction e #

Wrapper for ``length``.

lower :: DocumentedFunction e #

Wrapper for ``toLower``.

reverse :: DocumentedFunction e #

Wrapper for ``reverse``.

sub :: DocumentedFunction e #

Returns a substring, using Lua's string indexing rules.

upper :: DocumentedFunction e #

Wrapper for ``toUpper``.