summary refs log tree commit diff
path: root/dot_ghc
diff options
context:
space:
mode:
authorAlen <alen@dotfiles.xyz>2025-01-19 03:15:21 +0400
committerAlen <alen@dotfiles.xyz>2025-01-19 03:15:21 +0400
commita6ee90de6cb7e086fe10c1a8fcfe98287fb1f49d (patch)
tree0ded3aaff47f2c671cd0b56bfba04ebdaa41cd4c /dot_ghc
parentdc86bb5b13d51d2da057021a2553058ccf4fe9c1 (diff)
Add template GHC/Cabal configs
Diffstat (limited to 'dot_ghc')
-rw-r--r--dot_ghc/ghci.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/dot_ghc/ghci.conf b/dot_ghc/ghci.conf
new file mode 100644
index 0000000..064d660
--- /dev/null
+++ b/dot_ghc/ghci.conf
@@ -0,0 +1,21 @@
+:set -XOverloadedStrings
+:set -XOverloadedLists
+:set -XScopedTypeVariables
+:set -XPackageImports
+
+:set +t
+:set +m
+
+:set -ddump-deriv
+-- :set -fprint-explicit-foralls
+
+-- Colour
+:set -package funnyprint
+:set -interactive-print=FunnyPrint.funnyPrintC
+:set prompt      "\ESC[1;32mλ: \ESC[m"
+:set prompt-cont "\ESC[1;32m : \ESC[m"
+
+-- useful extensions by default
+:set -XTypeApplications -XKindSignatures
+
+import Prelude