Remix.run Logo
mrkeen 7 days ago

You can:

https://hackage.haskell.org/package/async-2.2.5/docs/Control...

As long as you don't mind - what did the article say? -

>> transcending to a higher plane and looking down to the folks who are stitching together if statements, for loops, make side effects everywhere, and are doing highly inappropriate things with IO.

do_not_redeem 3 days ago | parent [-]

[flagged]

binary132 3 days ago | parent | next [-]

Thank goodness Captain Imperative scampered out of his goto hovel to remind us wizards to feel bad for being better than everyone. ;)

do_not_redeem 3 days ago | parent [-]

Your purely functional insults have no side effect on me, wizard.

binary132 2 days ago | parent [-]

Argh, right in the monads!

zeendo 3 days ago | parent | prev [-]

What is with the unprovoked condescension?

I guess I get the article author was trying to be provocative but what are you doing?

mrkeen 2 days ago | parent [-]

To lay it all out in full:

TFA wrote out a bunch of problems with imperative code asked you to take it on faith that imperative is not inferior to functional. Then he added a bunch of snark, implying that functional programming is just a superiority complex (which is what I quoted).

I quoted the snark to indicate that I was very aware that the author was mocking FP.

serbuvlad asked why you can't just X. I linked to the exact function that does that for you.

do_not_redeem then suggested I was unaware that the author was mocking FP.

the_mitsuhiko 2 days ago | parent [-]

FWIW I (author) didn’t want to mock functional programming. I consider myself an aficionado of functional programming patterns :)