hsqml-0.3.3.0: Haskell binding for Qt Quick

Safe HaskellSafe-Inferred
LanguageHaskell2010

Graphics.QML.Objects.ParamNames

Description

Parameter Name Lists

Synopsis

Documentation

data ParamNames a

Represents a list of parameter names. The number of names in the list is statically encoded using the length of the function type held in the type parameter a.

Instances

paramNames :: ParamNames a -> [String]

Coverts a ParamNames list to an ordinary list of strings.

noNames :: ParamNames ()

An empty ParamNames list.

fstName :: String -> ParamNames (String -> ())

Produces a ParamNames list with a single name.

plusName :: ParamNames a -> String -> ParamNames (String -> a)

Adds one parameter name to a ParamNames list.

anonParams :: AnonParams a => ParamNames a

Polymorphically produces ParamNames lists of any length filled with blank parameter names.

class AnonParams a

Helper class for generating anonymous parameter lists.

Minimal complete definition

anonParams_

Instances