quil/quil — pull request #27 by aperiodic (2012-06-15 20:00:56+00:00)
Title: Fix IllegalArgumentException in mouse-button fn.

I changed it to use condp, rather than case, since we need the value of the PConstants. I'm not sure what the motivation to use case was (constant-time dispatch? There's only three possible values, and I don't think mouse-button is going to be the bottleneck in anybody's sketch ;-) ).