Am Mo., 29. Okt. 2018 um 14:27 Uhr schrieb Daniel Cartwright <chessai1996@gmail.com>:'Ptr Void' is not a pointer to a value of type 'Void'; there are no values of type 'Void': this type is nonsensical.That's the whole point, and it actually makes sense: If you see "Ptr Void", you can't do much with it, apart from passing it around or using castPtr on it. This is exactly what should be achieved by using "Ptr Void" in an API. This is basically the same as "void *" in C/C++.
You can't store or read "()", so the same holds as for Void (which didn't exist when the FFI was created IIRC).