about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/examples/rts/One.hs
blob: bc24fb7cb274e2552d5d204da4d1e5c261f7bbb8 (plain) (blame)
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