monkey-lang: github.com/prologic/monkey-lang/typing Index | Files

package typing

import "github.com/prologic/monkey-lang/typing"

Index

Package Files

typing.go

func Check Uses

func Check(name string, args []object.Object, checks ...CheckFunc) error

type CheckFunc Uses

type CheckFunc func(name string, args []object.Object) error

func ExactArgs Uses

func ExactArgs(n int) CheckFunc

func MinimumArgs Uses

func MinimumArgs(n int) CheckFunc

func RangeOfArgs Uses

func RangeOfArgs(n, m int) CheckFunc

func WithTypes Uses

func WithTypes(types ...object.Type) CheckFunc

Package typing imports 2 packages (graph) and is imported by 1 packages. Updated 2019-02-27. Refresh now. Tools for package owners.