Nim Medium · Lesson 4

Closures and proc types

First-class procs, closure capture, proc type annotations, and the sugar => / -> syntax.

Lessons · Nim Medium · Lesson 4 of 10

Closures and proc types

First-class procs, closure capture, proc type annotations, and the sugar => / -> syntax.

Illustration for Nim
First-class procs, closure capture, proc type annotations, and the sugar => / -> syntax.