Commit 6d24f16a authored by Simon Marlow's avatar Simon Marlow
Browse files

fix FFI syntax

parent 55b23d5c
module Foo where
foreign export foo :: Int -> IO Int
foreign export ccall foo :: Int -> IO Int
foo :: Int -> IO Int
foo n = return (length (f n))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment