Module

Attribute

Package
erl-cowboy
Repository
purerl/purescript-erl-cowboy

Representation of erlang attributes with symbols and compiler magic.

#Attribute Source

data Attribute :: Symbol -> Symbol -> Typedata Attribute (name :: Symbol) (content :: Symbol)

An attribute with specified name and content

Constructors

#Behaviour Source

type Behaviour :: Symbol -> Typetype Behaviour = Attribute "behaviour"

A behaviour attribute, e.g. Behaviour "gen_server"