github.com/MontFerret/ferret@v0.18.0/pkg/stdlib/collections/lib.go (about) 1 package collections 2 3 import "github.com/MontFerret/ferret/pkg/runtime/core" 4 5 func RegisterLib(ns core.Namespace) error { 6 return ns.RegisterFunctions( 7 core.NewFunctionsFromMap(map[string]core.Function{ 8 "INCLUDES": Includes, 9 "LENGTH": Length, 10 "REVERSE": Reverse, 11 })) 12 }