env

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: EUPL-1.2 Imports: 3 Imported by: 1

Documentation

Overview

Package env provides some special/builtin functions to work with environments.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllBindings

func AllBindings(args []sxpf.Object) (sxpf.Object, error)

AllBindings returns all bindings as a a-list of the given environment.

func Bindings

func Bindings(args []sxpf.Object) (sxpf.Object, error)

Bindings returns the bindings as a a-list of the given environment.

func BoundP

func BoundP(_ *eval.Engine, env sxpf.Environment, args []sxpf.Object) (sxpf.Object, error)

BoundP returns true, if the given symbol is bound in the given environment.

func Env

func Env(_ *eval.Engine, env sxpf.Environment, args []sxpf.Object) (sxpf.Object, error)

Env returns the current environment

func ParentEnv

func ParentEnv(args []sxpf.Object) (sxpf.Object, error)

ParentEnv returns the parent environment of the given environment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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