snix/third_party/bazel/rules_haskell/tests/library-with-cbits/AddOne.hsc

3 lines
75 B
Haskell

module AddOne where
foreign import ccall "c_add_one" addOne :: Int -> Int