Last active
September 7, 2022 16:19
-
-
Save daig/402e83f8e092a1ef2bae5d72f1508b94 to your computer and use it in GitHub Desktop.
GHCID with custom prelude
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{- ghcid --command="cabal repl --repl-options=-XNoImplicitPrelude" -} | |
{- | |
function hdoc() { | |
firefox $(cabal haddock --haddock-option="--hyperlinked-source" $1 | tail -n 1) | |
} | |
-} | |
:set -fno-code | |
:set -XMagicHash -XUnboxedTuples | |
:set -XPackageImports | |
:load ./src/Prelude.hs | |
import Prelude | |
:set -XImplicitPrelude |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment