9 lines
171 B
Haskell
9 lines
171 B
Haskell
{-# LANGUAGE ForeignFunctionInterface #-}
|
|
|
|
module Main (main) where
|
|
|
|
import qualified HsLib
|
|
|
|
foreign import ccall "value" value :: Int
|
|
|
|
main = print $ HsLib.value + value
|