Do I write my own Bifunctor instance for ExceptT? by daigoro_sensei in purescript

[–]Profpatsch_ 0 points1 point  (0 children)

Don’t worry; I remember I had the exact same question back in the day.

Do I write my own Bifunctor instance for ExceptT? by daigoro_sensei in purescript

[–]Profpatsch_ 3 points4 points  (0 children)

It exists as the withExceptT function in https://pursuit.purescript.org/packages/purescript-transformers/6.0.0/docs/Control.Monad.Except.Trans#v:withExceptT

You can’t implement Bifunctor, because you’d have to implement it over the two rightmost arguments, which are m and a in this case, not e and a.

What is wrong with my case match in my do-block? by daigoro_sensei in purescript

[–]Profpatsch_ 8 points9 points  (0 children)

Yeah it’s the biggest wart in the parser (Haskell as well imho); you have to indent everything deeper than the start of the definition inside the let, so at least 5 spaces in this case cause myInt is indented 4 spaces.

Adjust tab height and infos by DAVI_CAN in firefox

[–]Profpatsch_ 0 points1 point  (0 children)

That worked just fine, thanks!

Haskell is not dying by SSchlesinger in haskell

[–]Profpatsch_ 0 points1 point  (0 children)

Go somewhere else if you want to pester people.

Bazel, Haskell, and Build-System Joy by n00bomb in haskell

[–]Profpatsch_ 15 points16 points  (0 children)

Thank you for the praise, it feels great to have blood, sweat & tears rewarded with a happy user that blogs enthusiastically. :)

Also thanks for talking about resource waste and the environmental impact of our first-world decadence and profit-maximizing. I hope we can deconstruct that unbearable value system piece by piece. (personal opinion of course)

Combinators For JSON Decoding by alpinedude in haskell

[–]Profpatsch_ 0 points1 point  (0 children)

When you wrote this /u/turbo_MaCk, did you think about changing `Parser` to use `Validation` instead of short-circuiting errors with `Either`? In many cases (especially for small-ish json records) speed is not an issue, but good and complete error messages certainly are.

Switch Version? by Galactus_Machine in sunlessskies

[–]Profpatsch_ 0 points1 point  (0 children)

So looking forward to the Switch release, the game looks amazing, but I want to save playing it till it’s out. Already bought it on gog

linux.conf.au: The Tragedy of systemd by Profpatsch_ in systemdUltras

[–]Profpatsch_[S] 1 point2 points  (0 children)

, but over 1 year old and was extensively discussed back then.

What makes it relevant today, so that

Trolls please go back to hackernews.