Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tome
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
541.
▲
by
tome
2y ago
Great video! Are you saying that if functional programmers explained FP like the video (i.e. focusing on the benefits of simpler code) then fewer people would be scared of it?
542.
▲
by
tome
3y ago
Why are people afraid of functional languages?
543.
▲
by
tome
3y ago
You could look at the effectful library: https://hackage.haskell.org/package/effectful-core-2.2.1.0/d...
544.
▲
by
tome
3y ago
> They are in fact not widely used. Ah, as a fact it presumably has some form of evidence that demonstrates it. Would you mind sharing that evidence?
545.
▲
by
tome
3y ago
> there are a few code formatters for Haskell, but nobody really uses them I haven't run a survey, but I get the impression that code formatters are widely used in the Haskell world, especially Ormolu and Fourmolu.
546.
▲
by
tome
3y ago
I'm not surprised the pool can make the article reappear but I'm a bit surprised it adjusts the submission date of the article and I'm very surprised that the comment dates have changed.
547.
▲
by
tome
3y ago
If you like record-of-functions then you might like my new effect library Bluefin, where effects are passed around at the value level. Here's the documentation about how you use record-of-functions: https://hackage.haskell.o
548.
▲
by
tome
3y ago
Is this post showing a bug in HN? It says it was posted 10 hours ago, but Algolia says it was posted 2 days ago https://hn.algolia.com/?dateRange=pastWeek&page=0&prefix=tru... And mehulashah's comment that the
549.
▲
by
tome
3y ago
Which Go strengths would you recommend Haskell absorb?
550.
▲
by
tome
3y ago
That's a good point! Python's weird scoping rules can make code very unclear.
551.
▲
by
tome
3y ago
I suppose I was looking for a more typical programming example than a cooking recipe, but even so I don't see why Haskell would have a problem there. I wouldn't claim it would be clearer but I still don't see why it would
552.
▲
by
tome
3y ago
Yes, it has improved a great deal, and ghcup has been an important aspect of that improvement.
553.
▲
by
tome
3y ago
Would it be possible to give a small example of Haskell versus Python that shows why Python's model of computation is different to and easier than Haskell's?
554.
▲
by
tome
3y ago
Yes, also wider! Do the smaller plants only look like they have longer roots because they're going to about the same absolute depth?
555.
▲
by
tome
3y ago
Wow, these are astonishing. The trees have much shallower roots than I thought. I assumed they went down as deep as the tree is tall! And the smaller plants have much deeper roots than I thought.
556.
▲
by
tome
3y ago
Hi there, I work for Groq. Groq's system was designed to run arbitrary high performance numerical workloads. In the past it has been used for a variety of scientific computation tasks, including nuclear fusion and drug discovery. htt
557.
▲
by
tome
3y ago
It's not clear to me!
558.
▲
by
tome
3y ago
I'm not entirely sure what you're saying. Are you saying that 60 years of profit on a product that's been churned out in quantity for 70 years is a small fine?
559.
▲
by
tome
3y ago
It's interesting because I love using Haskell in a stable production environment. In fact I'd hate to use anything else! On the other hand, I almost never use naked recursion in Haskell. It typically do recursion indirectly thro
560.
▲
by
tome
3y ago
Surely the generics approach would go via an aeson Value as an intermediate format, and thus possibly store an unbounded Scientific.
561.
▲
by
tome
3y ago
I have a similar point of view as acchow, so it's possible I don't understand psychology either. Could you enlighten us about what it actually is?
562.
▲
by
tome
3y ago
Yes, you're right, thank you!
563.
▲
by
tome
3y ago
I'm really interested in the topics discussed in this article. My new Haskell effect system, Bluefin[1], is based on this idea of "contexts" (which Bluefin calls "handles"). Bluefin explicitly passes handles. Ther
564.
▲
by
tome
3y ago
FWIW Haskell is the only language in which I've been able to return to code that I wrote six months later and still understand it.
565.
▲
by
tome
3y ago
I don't know if I have decades more experience than you but I can confirm that the amazing language Haskell survives contact with the real world. Here's what I made with it: https://groq.com (amongst other languages!)
566.
▲
by
tome
3y ago
> see what I did there? Maybe
567.
▲
by
tome
3y ago
Yes, it's different. See https://wow.groq.com/hey-elon-its-time-to-cease-de-grok/ (I work for Groq)
568.
▲
by
tome
3y ago
Yeah, but that's not because the first 127 pages are "dense type theory". It's because that's the first time it teaches about compiled programs rather than the REPL. Besides, "Hello world" also appears o
569.
▲
by
tome
3y ago
I'm not sure which tutorials you're thinking of. Not this one I guess https://wiki.haskell.org/Haskell_in_5_steps#Write_your_first... or this one https://riptutorial.com/haskell/example/
570.
▲
by
tome
3y ago
Thanks. I don't fully grasp what `one` is, but do notation has the nice property that do r <- do foo bar quux r is the same as do foo r <- bar quux r It doesn't
More ›