Skip to content

Instantly share code, notes, and snippets.

@zah
Created August 31, 2011 18:30
Show Gist options
  • Save zah/1184297 to your computer and use it in GitHub Desktop.
Save zah/1184297 to your computer and use it in GitHub Desktop.
proc foo[T](x: T) =
var y = ...
bar(baz)
macro:
var typeOfY = inferType(y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment