../Plugin.in:18:15: Couldn't match `Dynamic' against `(a, b)' Expected type: Dynamic Inferred type: (a, b) In the definition of `resource_dyn': resource_dyn = (typeOf v, unsafeCoerce v) failed