Documentation
¶
Index ¶
- Constants
- func BuiltinFloat(env *lisp.LEnv, args *lisp.LVal) *lisp.LVal
- func BuiltinInt(env *lisp.LEnv, args *lisp.LVal) *lisp.LVal
- func BuiltinString(env *lisp.LEnv, args *lisp.LVal) *lisp.LVal
- func BuiltinStructField(env *lisp.LEnv, args *lisp.LVal) *lisp.LVal
- func LoadPackage(env *lisp.LEnv) *lisp.LVal
Constants ¶
View Source
const DefaultPackageName = "golang"
DeafultPackageName is the package name used by LoadPackage.
Variables ¶
This section is empty.
Functions ¶
func BuiltinFloat ¶
BuiltinFloat returns a floating point number held by the native value. Any type with underlying kind float32 or float64 can be converted.
func BuiltinInt ¶
BuiltinInt returns a integer held by the native value. Any type with underlying integer kind (possibly unsigned) can be converted. An error will be returned if any overflow occurs during conversion.
func BuiltinString ¶
BuiltinString returns a string held by the native value (it does not convert non-string values to strings).
func BuiltinStructField ¶
BuiltinStructField reflects the first argument and returns the named struct field.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.