You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -207,3 +207,35 @@ The `include-dirs` is a list of directories containing C headers to be included.
207
207
The `install-includes` will ensure that these headers (relative to the include-dirs) are also exported to any downstream package that depends on this package. So they can make use of those same headers, if they were also writing their own C code.
208
208
209
209
Finally you just need to write code like `FFI.hs`, and everything just works normally.
210
+
211
+
## Quality Assurance
212
+
213
+
### Hlint
214
+
215
+
Use `hlint` to lint your Haskell code which can suggest better ways of writing Haskell expressions.
216
+
217
+
```sh
218
+
hlint lint ./src ./app ./test
219
+
```
220
+
221
+
Hlint will give suggestions that aren't always relevant. In order to ignore these suggestions, they must be recorded like:
0 commit comments