From 5a22b14112ee423538dcdb4e7f394369ecf8c973 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 2 Sep 2017 21:58:53 +0300 Subject: add .ghci and .stack/config.yaml I no longer do Haskell on Windows only, yay! --- %HOME%/.ghci | 9 +++++++++ %HOME%/.stack/config.yaml | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 %HOME%/.ghci create mode 100644 %HOME%/.stack/config.yaml (limited to '%HOME%') diff --git a/%HOME%/.ghci b/%HOME%/.ghci new file mode 100644 index 0000000..0cb900e --- /dev/null +++ b/%HOME%/.ghci @@ -0,0 +1,9 @@ +:set prompt "> " +:set prompt2 "" + +:seti -w + +:def hoogle \x -> return $ ":!hoogle \"" ++ x ++ "\"" + +:set -XOverloadedStrings +:set -XTupleSections diff --git a/%HOME%/.stack/config.yaml b/%HOME%/.stack/config.yaml new file mode 100644 index 0000000..6738cd9 --- /dev/null +++ b/%HOME%/.stack/config.yaml @@ -0,0 +1,9 @@ +# This file contains default non-project-specific settings for 'stack', used +# in all projects. For more information about stack's configuration, see +# http://docs.haskellstack.org/en/stable/yaml_configuration/ +templates: + params: + author-name: Egor Tensin + author-email: Egor.Tensin@gmail.com + copyright: '(c) 2017 Egor Tensin ' + github-username: egor-tensin -- cgit v1.2.3