nim_iterator_stream_experiment/utils/variables

    Dark Mode
Search:
Group by:

Utilities to manipulate variables.

Useful when composing procedures that use variables with others that do not.

Procs

proc write[T](self: var T; value: T): var T
  Source Edit
proc modify[T](self: var T; f: T -> T): var T
  Source Edit

Funcs

func read[T](self: var T): T
  Source Edit