Hi, how do I invoke an Invokable with List as its argument without the List is being evaluated? Here's a simple implementation to create a reduce function which requires the callback function to accept List and Int64 type.
$ go run main.go
panic: eval-error in '' (at line 0:0): cannot invoke value of type 'sabre.Int64'
goroutine 1 [running]:
main.main()
/home/terra/Documents/system33/go/sabre/examples/simple/main.go:22 +0x194
exit status 2
Hi, how do I invoke an
Invokable
withList
as its argument without theList
is being evaluated? Here's a simple implementation to create a reduce function which requires the callback function to acceptList
andInt64
type.This will produce this error.