Unavailable Halogen function

Cross-post from Slack:

I’m trying to figure out why Halogen.HTML.Events.input is unavailable in my repl.
Here’s the listing in pursuit
https://pursuit.purescript.org/packages/purescript-halogen/4.0.0/docs/Halogen.HTML.Events#v:input

> import Halogen.HTML.Events as HE
> HE.         -- tab completion
HE.handler
HE.onDragLeave
...           -- no HE.input listed

Answer:

You are using Halogen v5, and there is no H.input, now that actions are separated from queries.

That pursuit page is for Halogen v4. The v5 documentation is not published, since there has not been a formal v5 release yet.

You can build docs locally with either:

pulp docs -- --html
spago docs

Then open:

generated-docs/html/index.html
2 Likes