Can't hsc2hs already do this? #def char w_some_inline_function(char foo) { return some_inline_function(foo); } foreign import ccall "w_some_inline_function" some_inline_function :: CChar -> CChar I have certainly used this idiom on several occasions to work around the issue. John -- John Meacham - ⑆repetae.net⑆john⑈ - http://notanumber.net/