libhelp

package
v1.16.4 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPackageName = "help"

DeafultPackageName is the package name used by LoadPackage.

Variables

This section is empty.

Functions

func FunDocstring

func FunDocstring(v *lisp.LVal) string

FunDocstring returns the docstring of the function reference v. If v is not a function FunDocstring returns the empty string.

func LoadPackage

func LoadPackage(env *lisp.LEnv) *lisp.LVal

LoadPackage adds the math package to env

func RenderPkgExported

func RenderPkgExported(w io.Writer, env *lisp.LEnv, query string) error

RenderPkgExported writes to w formatted documentation for exported symbols in the query package within env. The exact formatting of the rendered documentation is subject to change across elps versions.

func RenderVar

func RenderVar(w io.Writer, env *lisp.LEnv, sym string) error

RenderVar writes to w formatted documentation for the object referenced by sym in the context of env. The exact formatting of the rendered documentation is subject to change across elps versions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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