Use unit

@paf31
One issue here: these various FFI calls return {}, which doesn't have the runtime representation of the type `Unit`, so pattern matching on the result, for example, while not necessarily useful, could result in a runtime error. To be super safe, these things should probably return `Prelude.unit`.