packages feed

hackport-0.5.5: cabal/cabal-testsuite/PackageTests/Exec/T4049/src/MyForeignLib/Hello.hs

-- | Module with single foreign export
module MyForeignLib.Hello (sayHi) where

import MyForeignLib.SomeBindings

foreign export ccall sayHi :: IO ()

-- | Say hi!
sayHi :: IO ()
sayHi = putStrLn $ "Hi from a foreign library! Foo has value " ++ show valueOfFoo