src/funcynim/call

  Source   Edit

Procedures and macros to alias the procedure call operator.

Useful when calling an anonymous proc.

Procs

proc call(p: proc () {.closure.}) {....raises: [], tags: [].}
  Source   Edit
proc call(p: proc () {.nimcall.}) {....raises: [], tags: [].}
  Source   Edit
proc call[T](p: proc (): T {.closure.}): T
  Source   Edit
proc call[T](p: proc (): T {.nimcall.}): T
  Source   Edit

Macros

macro call(p: proc; arg1: typed; remaining: varargs[typed]): untyped
  Source   Edit