added support for swizzling obj-c methods with haskell functions