Closed juliaogris closed 2 months ago
There is a test case for join
: print (join [1 true "x"] ", ")
for which it expects the result "1, true, x\n"
- perhaps join
should be taking []any
?
https://github.com/evylang/evy/blob/main/pkg/evaluator/evaluator_test.go#L942
Oops. Forgot to tag this issue in https://github.com/evylang/evy/pull/326
Updated the font
signature. Left join
as is.
Hmmm, still need to update the docs for join
. Reopening
@camh- :
We should tighten up the built-ins where they take GENERIC composites. We don't need that any more in many cases now that you fixed the typing. the
font
builtin should be able to just takemap[any]
and {foo: 1} will be properly converted now to map[any]