You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Michael Truog edited this page Jan 31, 2021
·
2 revisions
v1 Usage Example
% Seed
ok = quickrand:seed(),
% Create state
S0 = uuid:new(self()),
% Create 2 v1 uuids with state variables S0 and S1
{U0, S1} = uuid:get_v1(S0),
{U1, _} = uuid:get_v1(S1),
% Print the string representation of both uuids
io:format("~s and ~s~n", [uuid:uuid_to_string(U0), uuid:uuid_to_string(U1)]).