typeOf
A script to infer and insert type declarations in Haskell source, callable from your editor. Bindings exist to emacs and vim.
Version 0.1.2
asTypeOf is a type-restricted version of const. It is usually used as an infix operator, and its typing forces its first argument (which is usually overloaded) to have the same type as the second.