-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spec question #12
Comments
It can be any term as long as the terms are ordered (the order is the "time" at which something happened). Uniqueness is needed in order to make sure that in the case of timestamps colliding, we can still order them. Historically, this was an The QuickCheck model works with its own Looking ahead, I think it would be fine to document the above criteria as for a behavior you want on the values. The simplest way is just to call |
I'm mostly concerned by the spec as i'm not sur how dialyzer will react with some strict settings. I will test and report |
Feel free to provide a patch which fixes the spec if needed. The spec isn't correct if it is
Or whatever types I assume in a modern Erlang implementation. |
i will send you a PR in the morning |
The spec for the timestamp is
integer()
but it seems that you can pass {integer(), integer()} like you do in therun
function. Is this expected ?The text was updated successfully, but these errors were encountered: