Module lasp_type

Function Index

decode/3
delta/3
encode/3
get_type/1Return the internal type.
is_bottom/2Is bottom?.
is_inflation/3Is inflation?.
is_strict_inflation/3Is strict inflation?.
merge/3Call the correct merge function for a given type.
new/1Initialize a new variable for a given type.
query/2Return the value of a CRDT.
threshold_met/3Determine if a threshold is met.
update/4Use the proper type for performing an update.

Function Details

decode/3

decode(Type, Encoding, Value) -> any()

delta/3

delta(Type, A, B) -> any()

encode/3

encode(Type, Encoding, Value) -> any()

get_type/1

get_type(T) -> any()

Return the internal type.

is_bottom/2

is_bottom(Type, Value) -> any()

Is bottom?

is_inflation/3

is_inflation(Type, Previous, Current) -> any()

Is inflation?

is_strict_inflation/3

is_strict_inflation(Type, Previous, Current) -> any()

Is strict inflation?

merge/3

merge(Type, Value0, Value) -> any()

Call the correct merge function for a given type.

new/1

new(Type) -> any()

Initialize a new variable for a given type.

query/2

query(Type, Value) -> any()

Return the value of a CRDT.

threshold_met/3

threshold_met(Type, Value, Threshold) -> any()

Determine if a threshold is met.

update/4

update(Type, Operation, Actor, Value) -> any()

Use the proper type for performing an update.


Generated by EDoc