about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-03T10·37+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-03T10·37+0100
commit9a19942c037ec62700c41c235154ff38816c0a3a (patch)
tree83cb7114118395c4e86b67f970c47688089781bb
parentb9ed4a2dc170a3a4b6c1095cdfc79e49292f315d (diff)
Add .ghci configuration file
Create a project-local .ghci file to define sensible
defaults (e.g. -Wincomplete-patterns).

TODO: Discover more GHC options to put in this file.

I would prefer to keep this at the project root, but because I'm running the
project from the src directory, I need to keep .ghci there.
-rw-r--r--src/.ghci2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/.ghci b/src/.ghci
new file mode 100644
index 000000000000..f189fd0be2e6
--- /dev/null
+++ b/src/.ghci
@@ -0,0 +1,2 @@
+:set prompt "> "
+:set -Wincomplete-patterns