Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@PragTob
Created July 24, 2017 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PragTob/3d4f282861a15f979451b3833027f4f2 to your computer and use it in GitHub Desktop.
Save PragTob/3d4f282861a15f979451b3833027f4f2 to your computer and use it in GitHub Desktop.
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