serial_number() = sequence_no()
add/2 | |
compare/2 | |
diff/2 | |
foldl/4 | |
in_range/3 | |
ranges/1 | |
usort/1 |
add(S::serial_number(), N::non_neg_integer()) -> serial_number()
compare(A::serial_number(), B::serial_number()) -> equal | less | greater
diff(A::serial_number(), B::serial_number()) -> integer()
foldl(Fun, Acc0, First, Last) -> Acc1
Fun = fun((serial_number(), AccIn) -> AccOut)
Acc0 = term()
Acc1 = term()
AccIn = term()
AccOut = term()
First = serial_number()
Last = serial_number()
in_range(S::serial_number(), First::serial_number(), Last::serial_number()) -> boolean()
ranges(SerialNumbers::[serial_number()]) -> [{First::serial_number(), Last::serial_number()}]
usort(L::[serial_number()]) -> [serial_number()]
Generated by EDoc