Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pd-andy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
pd-andy
5y ago
Oh yeah I knew I was forgetting one, F#/Fable seems really popular among F# devs, but it doesn't seem like it's picking up any traction for FE devs that aren't already in that community. Typescript encourages and is gene
2.
▲
by
pd-andy
5y ago
Lumi: https://twitter.com/hdgarrood/status/1412833319348314121
3.
▲
by
pd-andy
5y ago
I think the project is a while off of being properly usable. I think it's mostly written with Node in mind, but shouldn't be too difficult to swap out the Fs bits for browser-specific code.
4.
▲
by
pd-andy
5y ago
The compiler written in Haskell relies on some extensions and/or optimisation tricks that make it not possible to compile with GHCJS. The 0.18 compiler (or maybe it was 0.17) was compiled with it though, it was what Ellie (third-party
5.
▲
by
pd-andy
5y ago
Neither, really. I'd say it has the largest community out of the various compile-to-js statically typed FP langs, at least with an explicit front-end focus. - PureScript has a small but passionate community, one of the biggest players
6.
▲
by
pd-andy
6y ago
Ha yes, very true!
7.
▲
by
pd-andy
6y ago
As far as I know those two are equivalent. Definitely slightly clunkier, but is what it is.
8.
▲
by
pd-andy
6y ago
Not quite. I guess in some ways phantom types achieve the opposite of structural typing. In a language with structural typing, two types are considered equivalent if they share the same structure. With phantom types we can have a single s
9.
▲
by
pd-andy
6y ago
Using phantom types in state machine transitions is really cool, yeah. I came across a little gist that explored that idea in Elm [1] the other day, actually. [1]: https://gist.github.com/rupertlssmith/88946c8d207d7ad64
10.
▲
Phantom Types in Gleam
(blog.pd-andy.dev)
35 points
by
pd-andy
6y ago
|
11 comments
11.
▲
by
pd-andy
6y ago
> The people who write these "I'm leaving X" posts must know they have disproportional power in such a tiny pond. This is what I find so disappointing and likely why many "thin-skinned" users come out to defend t
12.
▲
by
pd-andy
6y ago
Because every single one of these posts is "I like Elm, I don't like Evan('s style of leadership)." All of these leavers could've maintained that fabled community fork they want with the features they want if they a