Category Archives: Uncategorized

It’s over between us…

Back to blogger.com. LaTeX support can’t make up for the fact that it’s impossible to display Haskell source code on wordpress (it strips out backslahes from inside PREformatted text). And wordpress.com makes silent edits to your HTML source (eg. discarding line breaks and discarding anything it thinks is an erroneous HTML tag including any text […]

Monads in C, pt. II

This is a quick followup to a post on reddit. This time a crude approximation to the Maybe monad implemented in C: include <stdio.h> typedef struct { int something; int just; } MaybeInt; MaybeInt returnMaybe(int i) { MaybeInt r; r.something = 1; r.just = i; return r; } MaybeInt nothing(){ MaybeInt r; r.something = 0; […]

Older posts can still be found at…

http://sigfpe.blogspot.com.