hof

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2016 License: BSD-2-Clause, MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixPointUntil

func FixPointUntil(f func(interface{}) interface{}, x interface{}, cond func(interface{}, interface{}) bool) interface{}

FixPointUntil represents a fixed-point combinator. It repeatedly call f with x until cond(x, f(x)) is true."

func Fixpoint

func Fixpoint(f func(interface{}) interface{}, x interface{}) interface{}

Fixpoint represents a fixed-point combinator. It repeatedly call f with x until f(x) equals x."

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL