hsqml-0.3.6.1: Haskell binding for Qt Quick
Safe HaskellSafe-Inferred
LanguageGHC2021

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

Instances details
Show (ParamNames a) Source # 
Instance details

Defined in Graphics.QML.Objects.ParamNames

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

Instances details
AnonParams () Source # 
Instance details

Defined in Graphics.QML.Objects.ParamNames

Methods

anonParams_ :: ParamNames ()

AnonParams b => AnonParams (String -> b) Source # 
Instance details

Defined in Graphics.QML.Objects.ParamNames

Methods

anonParams_ :: ParamNames (String -> b)