Sigfpe
...sometimes you can write useful Haskell code merely by writing something that type checks successfully. Often there's only one way to write the code to have the correct type. Going one step further: the Curry-Howard isomorphism says that logical propositions corresponds to types. So here's a way to write code: pick a theorem, find the corresponding type, and find a function of that type.
Learning category theory and formal logic by writing proofs in Haskell.
Cool. :-D
Recent comments
1 day 8 hours ago
1 day 10 hours ago
17 weeks 6 days ago
17 weeks 6 days ago
17 weeks 6 days ago
23 weeks 6 days ago
1 year 12 weeks ago
1 year 12 weeks ago
1 year 12 weeks ago
1 year 34 weeks ago