xgo/objects/builtin_print.go

14 lines
167 B
Go
Raw Normal View History

2019-01-09 10:17:42 +03:00
package objects
import (
"fmt"
)
func builtinPrint(args ...Object) (Object, error) {
for _, arg := range args {
fmt.Println(arg.String())
}
return nil, nil
}