SG: Small OpenGL geometry library for vectors and collision detection

SG is a small geometry library by Neil Brown for dealing with vectors, points, lines, simple shapes, and their various intersection tests written in Haskell. It is now available in AUR. You can try it out with the sgdemo app.