about summary refs log blame commit diff
path: root/third_party/bazel/rules_haskell/examples/rts/One.hs
blob: bc24fb7cb274e2552d5d204da4d1e5c261f7bbb8 (plain) (tree)
1
2
3
4
5
6





                                             
module One () where

add_one_hs :: Int -> Int
add_one_hs x = x + 1

foreign export ccall add_one_hs :: Int -> Int