r/purescript • u/Exact_Ordinary_9887 • Jul 17 '25
Is it worth learning PureScript? So far the experience was less than ideal.
I am not a Java or SQL programmer, but I was able to quickly get up and going. The error messages made sense. The documentation had plenty of excellent examples.
Here you get confusing type errors. Some examples on the web appear to be broken on purpose, so they are useless. Type signatures are not examples. There is very little traffic on the discourse. Copilot gives nonsense answers and even contradicts itself.
So, I am asking, is there a light at the end of the tunnel? How did you get over the inability to write a simple variant of a simple project?
Was it worth to persist and why?
View all comments
Show parent comment
1
u/GetContented Jul 17 '25
I think perhaps you might have missed some of my suggestion.
As I said... check in Web.DOM's API that querySelector is there.
If you search in pursuit for querySelector, yes you'll find 10, but if you then look at where they are in the results and see ones that are within that module, as I said. You'll find there's only one in Web.DOM. It's been moved to a sub module called Web.DOM.ParentNode by the looks of things. That's still within Web.DOM.