src/funcynim/chain

  Source   Edit

The bread and butter of functional programming: function composition.

Procs

func chain[A; B; C](f: A -> B; g: B -> C): A -> C
  Source   Edit
func chain[A; B](f: () -> A; g: A -> B): () -> B {.
    ...deprecated: """Since "0.3.0".""".}
Deprecated: Since "0.3.0".
  Source   Edit
func compose[A; B; C](self: B -> C; prev: A -> B): A -> C
Since 0.3.0.   Source   Edit