View Source Arke.System.Group (Arke v1.1.33)

Link to this section Summary

Functions

Macro to create an arke struct with the given parameters. Usable only via code and not iex.

Macro used to define parameter in an arke. See example above arke/2

Link to this section Functions

Link to this macro

group(opts \\ [], list)

View Source (macro)
@spec group(args :: list(), Macro.t()) :: %{}

Macro to create an arke struct with the given parameters. Usable only via code and not iex.

example

Example

group do
  parameter :custom_parameter
  parameter :custom_parameter2
  parameter :custom_parameter3
  parameter :custom_parameter4
end

return

Return

%Arke.Core.Unit{}
Link to this macro

parameter(id, type, opts \\ [])

View Source (macro)
@spec parameter(id :: atom(), type :: atom(), opts :: list()) :: Macro.t()

Macro used to define parameter in an arke. See example above arke/2