Skip to content

Instantly share code, notes, and snippets.

{[{total,4641557752},
{processes,988610968},
{processes_used,984942672},
{system,3652946784},
{atom,1057985},
{atom_used,1053865},
{binary,581179224},
{code,15137233},
{ets,2216918096}],
[{{sys_alloc,0},[{options,[{e,true},{m,libc},{tt,131072},{tp,0}]}]},
{[{total,4681345584},
{processes,1006243328},
{processes_used,1002078008},
{system,3675102256},
{atom,1057985},
{atom_used,1054027},
{binary,589646712},
{code,15137521},
{ets,2229899184}],
[{{sys_alloc,0},[{options,[{e,true},{m,libc},{tt,131072},{tp,0}]}]},
defmodule Rule do
# Values in our language are typed.
@type value() :: {:string, binary()}
| {:integer, integer()}
| {:bool, boolean()}
| {:list, list(value())}
@type attribute_source() :: :subject | :resource | :action
# Terminals, either literal values or values retrived from the environment