Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
purescript
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
purescript
11y ago
My answer to this has changed quite a bit over the last year. It used to be the case, at least as I saw it, that Elm had a UI focus, and PureScript tried to be a general-purpose language. So it came down to typical expressiveness vs. toolin
32.
▲
by
purescript
11y ago
> I wish all these alt-JS-haskellish language authors (of PureScript, Elm, Roy, etc.) would just work on making GHCJS better. All three of those have very different goals and trade-offs from GHCJS. I agree that it would be nice to share
33.
▲
by
purescript
11y ago
I hope you find PureScript has improved considerably since you last looked, but if you have any specific issues, please drop into #purescript IRC and let us know.
34.
▲
by
purescript
11y ago
There are some PureScript projects that I know of running on Node, although it is admittedly less common. I'm currently working on a framework to build REST services in PureScript, so hopefully the situation will improve shortly.
35.
▲
by
purescript
11y ago
The largest all-PureScript application I know of is SlamData[0], which takes about 12s for a rebuild, but SlamData uses a _lot_ of modules. For smaller projects it's much less. It's not great, but performance is one of three main
36.
▲
by
purescript
11y ago
Monad transformers and PureScript's row-based effects are two complementary approaches to the problem of extensible effects. Some effects in PureScript look a lot like the effects provided by certain monad transformers (StateT/ST&
37.
▲
by
purescript
11y ago
I don't know Alice ML but one advantage of using abstractions like Applicative is that you can write code which is polymorphic in the particular applicative you choose. So, you can mock your concurrent requests using the Identity or Zi
38.
▲
by
purescript
11y ago
An Applicative functor is a type constructor which lets you lift functions of arbitrary numbers of arguments to functions whose arguments are wrapped with that type constructor. Concretely, if you think about promises in JavaScript, for exa
39.
▲
by
purescript
11y ago
One thing I find surprisingly effective is that I write a todo list on paper every morning, and check items off as they get done. I keep a longer todo list of personal goals on a Trello board.
40.
▲
by
purescript
11y ago
s/minor/major
41.
▲
purescript-halogen – A declarative, type-safe UI library for PureScript
(github.com)
13 points
by
purescript
11y ago
|
0 comments
42.
▲
by
purescript
12y ago
/s/Pure Script/PureScript :)
43.
▲
by
purescript
12y ago
Right now, the translation is very direct. My basic rule of thumb is - only perform those optimizations which the user opts into. Some things are standard though, like a few inlining rules and tail call elimination, but the plan is to provi
44.
▲
by
purescript
12y ago
I can't really comment on source maps in Elm, but the approach in PureScript has been to generate clean, readable JS which is debuggable directly. Source maps are on the roadmap, but not really a priority right now. I haven't hear
45.
▲
by
purescript
12y ago
I won't argue that Elm does anything other than an exemplary job at #3, but it is worth noting that there are some interesting efforts to build similar functionality in PureScript libraries: https://github.com/paf31
46.
▲
by
purescript
12y ago
Maybe https://github.com/paf31/purescript-thermite ...
47.
▲
by
purescript
12y ago
I tried to change the whitespace rules in the PureScript parser to match Haskell recently (to support explicit braces), and it proved to be very difficult. The "L" function which is defined in the Haskell 98 Report depends heavily
48.
▲
by
purescript
12y ago
> There is purescript but its a large layer over javascript and even a simple hello world results in a 2000 LOC compilation of javascript. This really depends on which compilation route you take. `psc-make` will include all of the Prelud
49.
▲
PureScript 0.6 Released
(github.com)
1 points
by
purescript
12y ago
|
0 comments
50.
▲
Show HN: A step-by-step MicroKanren evaluator
(functorial.com)
3 points
by
purescript
12y ago
|
0 comments