Skip to content

times

Function times executes the provided zero-argument function n number of times.

Usage

times 5 (\-> IO::println "hello")

Note: this function is typically called using the infix notation.

5 `times` (\-> IO::println "hello")

Last update: May 16, 2021