hsqml-0.3.5.1: Haskell binding for Qt Quick

Safe HaskellSafe
LanguageHaskell2010

Graphics.QML.Objects.ParamNames

Description

Parameter Name Lists

Synopsis

Documentation

data ParamNames a Source #

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] Source #

Coverts a ParamNames list to an ordinary list of strings.

noNames :: ParamNames () Source #

An empty ParamNames list.

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

Produces a ParamNames list with a single name.

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

Adds one parameter name to a ParamNames list.

anonParams :: AnonParams a => ParamNames a Source #

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

class AnonParams a Source #

Helper class for generating anonymous parameter lists.

Minimal complete definition

anonParams_

Instances