todod.set

Undocumented in source.

Members

Functions

jsonToSet
Set!T jsonToSet(JSONValue json, T delegate(in JSONValue) convert)

Load set from JSON, needs delegate to convert json into the element type

setToJSON
JSONValue setToJSON(Set!T set, JSONValue delegate(in T) convert)

Convert Set to JSON given a function to convert the element type to JSON

toJSON
JSONValue[] toJSON(Set!T set)

Convert set to json array. The element needs to implement a toJSON function

Structs

Set
struct Set(T)

Set implemented on top of ranges. Unique and ordered (at time of adding)

Meta