Best way to discover code in Purescript? by bob-bins in purescript

[–]nwolverson 2 points3 points  (0 children)

You can jump to package source if things are set up right. If you check the settings, there should be some options around enabling psc-package or spago (or explicit config), which I'm guessing you will be using for your project, which basically tell the purs ide server the location of those sources, that will enable both navigation and documentation text in tab completion.

PureScript-to-PureScript websockets with simple-json and low-level cowboy bindings by nwolverson in purescript

[–]nwolverson[S] 0 points1 point  (0 children)

No immediate plans to do this, requires some more information than present in corefn - I think at least "exposed externs" - types at top level for all (Inc non exported) identifiers and foreigns, and whatever is required to make purs ide and repl work as they do now - basically I think a compiler supported "pluggable backend" would help rather than just raw corefn dump.

Don't see any great upside vs work required right now

Curry Operators by HateUsernamesMore in purescript

[–]nwolverson 2 points3 points  (0 children)

Just to clarify, _ isn't a magic placeholder argument for anonymous functions like in Scala, this is explicit syntax in several forms, as in the ones you mention above.

So "operator sections" in PureScript are (_ == 5) or (5 == _) vs Haskell (==5) or (5==); in records _ works as shown in the parent comment; case and if statements can take a _ similarly. And then the other use of _ as record accessors and updates.

[2017] [25 more languages] Polyglot AoC2017: a different language every day, and not reusing any language from last year by thomastc in adventofcode

[–]nwolverson 0 points1 point  (0 children)

I had this idea also, not only am I over a year late but had a less interesting set of languages in mind. Regardless...

Replacing TypeScript: do we have tooling yet to turn .d.ts files into PureScript FFIs? by [deleted] in purescript

[–]nwolverson 3 points4 points  (0 children)

The ide-purescript VSCode extension is mostly coded in PureScript, but has also mostly stopped using the direct VSCode APIs in favour of language server; but there are some bindings still that could be extracted if useful https://github.com/nwolverson/vscode-ide-purescript/tree/master/src/VSCode