The Haskell Road rocks my world. It’s an amazing book, especially for programmers who want to become better at discrete math. (No Haskell experience is required, and no math beyond high school algebra.) I read about six chapters in a weekend (ouch!), and my understanding of logic, relations and functions improved dramatically.
In general, doing abstract math in Haskell makes it a lot more accessible to me. In particular, it’s nice knowing the types of all the equations.