[plt-scheme] How do you guys usually debug macro error messages?
Hi,
How do you guys usually debug macro error messages?
For example I tried this (maybe it is totally wrong?):
(define MPI_COMM_WORLD
(get-ffi-obj
"MPI_COMM_WORLD" libmpi _pointer))
And got the error message:
syntax-e: expects argument of type <syntax>; given #f
Re:
http://download.plt-scheme.org/doc/html/foreign/Loading_Foreign_Libraries.html?q=get-ffi-obj&q=FFI#%28def._%28%28lib._scheme/foreign..ss%29._get-ffi-obj%29%29
It seems to be formed correctly.
Best wishes,
Grant Rettke