C and Haskell