Module

Materialize.Markup.Variadic

Package
purescript-materialize
Repository
yehzhang/purescript-materialize

#Variadic Source

class Variadic a r | r -> a where

Returns different types depending on what the caller wants. Primarily used to return a ClassDsl when something is finished decorating. Sometimes used to return a Smolder Markup.

Members

Instances

#Decorator Source

newtype Decorator a

Constructors

Instances

#variadicDecorate Source

variadicDecorate :: forall b a. (Decorator a -> b) -> a -> b

#(~) Source

Operator alias for Materialize.Markup.Variadic.variadicDecorate (left-associative / precedence 0)

#variadicMaybeDecorate Source

variadicMaybeDecorate :: forall b a. (Decorator (Maybe a) -> b) -> Boolean -> a -> b

#(~?) Source

Operator alias for Materialize.Markup.Variadic.variadicMaybeDecorate (left-associative / precedence 9)