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 week 19 hours ago
1 week 20 hours ago
1 week 20 hours ago
1 week 20 hours ago
1 week 20 hours ago
28 weeks 5 days ago
28 weeks 5 days ago
28 weeks 6 days ago
28 weeks 6 days ago
29 weeks 3 days ago