HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulehslua-typing-0.1.1Haskell2010

HsLua.Typing

The module provides Haskell types and values that can be used to describe and declare the types of Lua values.

  • 2 types
  • 21 values
datadata TypeSpec
#

Type specification for Lua values.

Constructors

Instances6Eq, Ord, Show, IsString, Generic, Rep
datadata TypeDocs
#

Documented custom type.

Instances5Eq, Ord, Show, Generic, Rep
value(#|#) :: TypeSpec -> TypeSpec -> TypeSpec
#

Returns the sum of two type specifiers, declaring that a Lua value can have either type.

Creates a TypeSpec value from a string.

The implementation currently handles basic types, sequences, and alternatives. A string that cannot be parsed is returned as a Named type with the full string as the name.

Types

2 declarations

Built-in types

Type constructors

Marshalling

4 declarations