Haskell interface: checking if cdecl are really functions