observablehq / stdlib

The Observable standard library.
https://observablehq.com/@observablehq/standard-library
ISC License
966 stars 83 forks source link

Accept iterables in embedded expressions in tagged template literals. #95

Closed mbostock closed 4 years ago

mbostock commented 5 years ago

Currently we require arrays (testing Array.isArray), but it seems reasonable to accept iterables.

Ref. https://talk.observablehq.com/t/expand-arbitrary-iterables-in-default-tagged-templates/1998

mbostock commented 5 years ago

This would be fixed by #94 (or should be…).

mbostock commented 4 years ago

Folding into #94.