Haskell FFI includes: is there a difference between including <xx.hs> and "xx.hs"?

54 Views Asked by At

I work on code I have not written. It uses the Haskell Foreign Function Interface (FFI) and includes some code in C.

The 9.0.1 GHC documentation gives an example of such includes as:

#include <stdio.h>
#include "HsFFI.h"

and I do not see an indication what difference is between using <..> and "..". Is there any?

I have difficulties when uploading the code to hackage, it complains about a file where the include is written as

fatal error: qhull_ra.h: No such file or directory
     #include "qhull_ra.h"

The file exists and it is found if I compile locally with stack build (but sometimes I see the same error message - not understanding when).

0

There are 0 best solutions below