Skip to content

Instantly share code, notes, and snippets.

@Varriount
Last active August 29, 2015 13:56
Show Gist options
  • Save Varriount/9317670 to your computer and use it in GitHub Desktop.
Save Varriount/9317670 to your computer and use it in GitHub Desktop.
# Current Syntax
type
callBack = proc (
a: int,
aSeq: seq[int],
b: int,
bSeq: seq[int],
)
# Possible alternative
type
callBack = object of proc
a: int
aSeq: seq[int]
b: int
bSeq: seq[int]
result: void
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment