eagletmt/ghcmod-vim — pull request #18 by johntyree (2012-09-23 09:31:44+00:00)
Title: Try using info() instead of type().

It's hard to say if this is a better approach or not, but at least it does the typeclass constraints properly.