Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tome
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
421.
▲
by
tome
2y ago
Thanks! So it seems to be not packages, but templates, and this comment suggests it wasn't GitHub doing the rate limiting after all: https://github.com/commercialhaskell/stack/issues/4979#issue... > E
422.
▲
by
tome
2y ago
> GHC2024 goes even further and includes extensions that are even more unstable, like DataKinds. But DataKinds is not stable. It's one of the most stable extensions possible! The link you provided even says it's stable: https
423.
▲
by
tome
2y ago
Actually, changes to the compiler hardly ever break anything. I recently upgraded four compiler versions in a row and apart from a bug and some warnings the compiler didn't force any changes at all. It's primarily changes to libr
424.
▲
by
tome
2y ago
> I would welcome anyone with Haskell experience to let me know what you think would be the highest priority items here. Simplifying cabal probably, though that's a system-level problem, just just a cabal codebase problem.
425.
▲
by
tome
2y ago
A book I find truly wonderful! If I was going to recommend one book about how to design software, it would be this one.
426.
▲
by
tome
2y ago
If you share a transcript from a cabal session I'll look into this for you.
427.
▲
by
tome
2y ago
That's interesting. Could you say more? This is something that we (speaking as part of the Haskell community) should fix. As far as I know Stack/Stackage should pick up packages from Hackage. What does it use GitHub for?
428.
▲
by
tome
2y ago
That's shifting the goalposts somewhat! Can Haskell be used for LOB software. Yes! In fact it's the one I am most effective in for that purpose. If I was starting a startup, it would be in Haskell, no question. "Let's
429.
▲
by
tome
2y ago
Interesting. I wonder where you met them. I've worked with tens of Haskell programmers in my career, most of whom were sad if they were required to stop working in Haskell. I've never met anyone who actively sought out a Haskell
430.
▲
by
tome
2y ago
Why not? Many of us do it every day.
431.
▲
by
tome
2y ago
I'm not sure why you say not to respond with 'use the IO monad' because that's exactly how you'd do it! As an example, here's some code that updates elements of a vector. import Data.Vector.Unboxed.Mutab
432.
▲
by
tome
2y ago
Wow, my jaw is on the floor. This is such a good idea! I already had the idea of tracking issues in the same repo as the code -- not that I actually use that idea -- but I didn't have the idea of doing PRs in the repo itself. Love it!
433.
▲
by
tome
2y ago
Then fix up the commit history at the end, for example like this: https://news.ycombinator.com/item?id=41509051
434.
▲
by
tome
2y ago
I think there's an ambiguity here between squashing every commit in the PR into a single one, and squashing fixup commits made as responses to review into the commits that originated them. For example, if the original commit series was
435.
▲
by
tome
2y ago
I noticed this before: https://news.ycombinator.com/item?id=40049170
436.
▲
by
tome
2y ago
> This will be a bit more detailed. I apologize in advance. No need to apologize. Thank you for your detailed response!
437.
▲
by
tome
2y ago
> main is never pure. Your `procedure` is also not pure Ah, it's possible I misunderstood you. I missed that you said "Purely functional languages force you to program this way by default". I mistakenly assumed you were
438.
▲
by
tome
2y ago
Thanks!
439.
▲
by
tome
2y ago
> the craze over drinking 3L of water every day which turned out to be worse than just drinking when you're thirsty Is there some more info about this you could link to? I'm not aware of it being determined to be worse than jus
440.
▲
by
tome
2y ago
I also come from the Haskell corner and I agree with roenxi. I don't think that FP is a well-defined concept, nor do I understand your characterization of pure FP. Let's take a simple program main = do v <- newIOR
441.
▲
by
tome
2y ago
It's not a Haskell thing. It stands for "Language Server Protocol", was invented by Microsoft, and is available for any language to benefit from. https://en.wikipedia.org/wiki/Language_Server_Protocol
442.
▲
by
tome
2y ago
Seems unlikely. Value extraction would lead to big dividends but declining share price.
443.
▲
by
tome
2y ago
Correct. andrewshadura pointed that out above, too. The former is equivalent to the original formulation that I was trying to simplify.
444.
▲
by
tome
2y ago
I agree, and in fact that's the basis of my Haskell library Bluefin[1]. If you look at it from one angle it's a Haskell "effect system" resembling other Haskell approaches for freely composing effects. If you look at it
445.
▲
by
tome
2y ago
Actually, this seems to be the clearest way of getting rid of negatives: > I believe all western nations want all messaging to be free of remote backdoors
446.
▲
by
tome
2y ago
Thanks, yes, I should have said > I believe no western nation wants any messaging to be non-locally-backdoored
447.
▲
by
tome
2y ago
Perhaps you got thrown by the double negative? > I don't believe there are any western nations that want non-locally-backdoored messaging of any sort means > I believe every western nation wants all messaging to be locally-backdo
448.
▲
by
tome
2y ago
I can't recall ever witnessing a pedestrian being hit by a car, nor a near miss, except two days ago when someone darted into traffic, and indeed it was a kid. Luckily it was fairly pedestrianised area (which may have given the kid th
449.
▲
by
tome
2y ago
Thanks for your detailed reply! As a reminder, my whole purpose in this thread is to try to understand your comment that Haskell is > impractical to be used as a general-purpose language (because I don't think it's intended as
450.
▲
by
tome
2y ago
Haskell has a long history of a small base library with a lot of essential functionality being provided as third party libraries, including mtl and transformers (monad transformers), vector (an array library). Even time (a time library) an
More ›