MithrilJS / docs

Source code for Mithril's documentation site
https://mithril.js.org
MIT License
1 stars 4 forks source link

Stream.lift lifter function parameter is incorrect (claims to accept streams) #26

Closed tmewett closed 1 month ago

tmewett commented 1 month ago

Is there an existing issue for this?

Offending URL

https://mithril.js.org/stream.html

Issue description

Hi, I may be wrong, but I think the lifter function of Stream.lift is documented wrong. It is documented as accepting

Splat of zero or more streams that correspond to the streams passed to stream.lift

but it seems to accept the actual values of the streams.

The quote above should probably read something like

Splat of zero or more values that correspond to the values of the streams passed to stream.lift