Pro tip: you can't.
Name a relevant project you completed using Haskell
But papers and post in blogs
> learned a bunch of neat math and compsci theory
> improved my coding habits
> fizzbuzz-tier Haskell code on my GitHub actually helps my career
10/10 would learn me a Haskell again
the project of learning scala
My blog is made with Haskyll, so there is that.
rebuilt wolfenstein 3d using haskell
xmonad
I really cant tho
big if tru
just like the creators of Ultima VII rewrote the game in assebly to make it work on the SNES and thats why it was so shitty [citation needed]
This is true. Especially learning recursion
why do people think recursion is hard
YOUR_INTELLIGENCE = 10
def intelligence(initial_intel, count):
if initial_intel
type. it would have been 18. im a little tipsy
i always give up
>relevant
>in Haskell
Yeah, found the problem, OP.
>Sup Forums
>something other than hello world
Found the problem.
>read online tutorial about lambda calculus (1 day)
>work through "the little schemer", apply in online repl (3 days)
>work through SICP (3 weeks)
Boom, you just got career-tier reputation + "neat CompSci" + coding habits in a fraction of the time Haskell would take to learn..
xmonad
Doesn't use tail calls.
Bad example, missing the point of recursion..
def intelligence(intel):
return 1 if intel >= 20 else 1 + intelligence(intel + 1)
YOUR_INTELLIGENCE = 10
print "It took you %s tries before you got recursion right" % intelligence(YOUR_INTELLIGENCE)
Read SICP.
>class Contravariant f => Divisible f where
>A Divisible contravariant functor is the contravariant analogue of Applicative.
>In denser jargon, a Divisible contravariant functor is a monoid object in the category of presheaves from Hask to Hask, equipped with Day convolution mapping the Cartesian product of the source to the Cartesian product of the target.
>By way of contrast, an Applicative functor can be viewed as a monoid object in the category of copresheaves from Hask to Hask, equipped with Day convolution mapping the Cartesian product of the source to the Cartesian product of the target.
Actual fucking haskell documentation.