Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
type specs
@type job_name :: String.t | atom
@spec benchmark(Suite.t, job_name, fun, module) :: Suite.t
def benchmark(suite = %Suite{scenarios: scenarios}, job_name, function, printer \\ Printer) do
#...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment