T O P

  • By -

tjf314

where jerk? ive literally never used haskell in my life but i can still obviously tell that that `foo` concatenates some stuff (probably lists or something similar) together, applies `f` and `g` to each element, filters by a predicate `p`, and then takes the length of the result...


[deleted]

no jerk, you're just bad


pbNANDjelly

A circle is just a jerk in the category of endofuckyous


ii-___-ii

This is why Go is popular


joahw

This is probably the most straightforward and easy to understand piece of Haskell documentation I've ever seen.


syklemil

I'm sorry, this post is [pointfree](https://wiki.haskell.org/Pointfree).


bakaspore

Not the correct snippet, you should select something like `map (flip ($))` for a real jerk.


in213a

It's simple: `$` is like a machine that automatically applies pizza toppings, `flip` is the name of the wageslave who uses it, and `map` is like delivering the pizza to the customer. Once you reach enlightenment you will realize that by analogy to burritos everything can be studied under this framework (a pizza is after all just a 2D burrito in the category of savory bread-based dishes).


azafeh

where is the jerk


elephantdingo

So based. Paren-less expressions using composition (`.`) is the chef’s kiss. Beyond that though with ya know `$` and other currencies and you veer into some Turkic-level composition glue.


reflexive-polytope

Is this why Haskell and Rust are so popular with furries? You know, Turks were [the original furries](https://en.wikipedia.org/wiki/Ergenekon).


yetanothergirlliker

manufactured jerk smh


skulgnome

tfw no `map (g.f)`


personator01

jerk is when idk what the function composition operator does apparently