7 lines
180 B
Haskell
7 lines
180 B
Haskell
{-# LANGUAGE ForeignFunctionInterface #-}
|
|
module TestSubLib (messageEnd) where
|
|
|
|
messageEnd :: String
|
|
messageEnd = "world " ++ show (foo 10)
|
|
|
|
foreign import ccall foo :: Int -> Int
|