Recent submissions

Comment · 4 years ago
The half-edge data structure, used in computational geometry.

I remember when I first discovered it, it drove home the point that choice of data structure can really matter - it made a bunch of problems I'd been working on much easier to solve, as it gave a different way of looking at things.

Comment · 5 years ago
PureScript isn't just for business logic at all - it has its own UI libraries, React bindings, DOM API bindings, and so on. It is more often used for front-ends than anything else that I've seen.

You only need to use one of spago or bower (spago being the recommended choice now), and that's because npm style dependencies are not suitable for PS.

As for why you'd choose it over TypeScript... well, you'd do so if you want to use a functional language that doesn't allow arbitrary effects and has a sound type system.

Comment · 5 years ago
It's a joke about Among Us.
Comment · 6 years ago
Really nice. I tried something like this many years ago in Flash, but the results this can produce are far more impressive!
Comment · 6 years ago
Comment · 7 years ago
I don't know whether this is true or not, but either way, working with Haskell makes my job more enjoyable than if I was writing some other language anyway.
Comment · 7 years ago
The article did mention it:

> Dematerialization is an idea that goes back at least as far as the 1920s (with R. Buckminster Fuller’s concept of “ephemerialization”)

Comment · 7 years ago
Comment · 7 years ago
Also related, the link/background colour combination fails WCAG contrast guidelines.
Comment · 7 years ago
https://github.com/dhall-lang/dhall-lang seems like it might have been a suitable candidate here also.
Comment · 10 years ago
Comment · 10 years ago
An advantage of using the most general signature possible is it restricts the things you can actually do with the values involved, which can make it easier to provide correct implementations.
Comment · 10 years ago
There's some work towards that in PureScript: https://github.com/kRITZCREEK/psc-ide provides an interface for multiple editors, seems like Atom, Emacs, Vim and VS are available currently.
Comment · 12 years ago
The main advantage is when doing something like this is Haskell the code you pass around can't have arbitrary side effects, so you don't actually need to worry so much about where it is called.
Comment · 12 years ago
Perhaps no evidence was found because people from the future have seen this paper and therefore know not to reveal themselves this way!

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton