ghcide/.ghci
Neil Mitchell a290aab694 Add a haskell-ide-core demo project (#1251)
* Demo program for haskell-ide-core as a library

* Fix all warnings in the Demo file

* Build the IDE demo

* Give a better error message than undefined

* HLint

* Fix copyright header

* Sort the dependencies

* Improve the comment

* Bazel formatting

* Disable building on Windows until ghc-paths is fixed

* Bazel formatting

* Specify the main function
2019-05-20 16:36:08 +01:00

17 lines
481 B
Plaintext

:set -ignore-package=ghc-lib -ignore-package=ghc-parser -package=ghc
:set -fwarn-unused-binds -fwarn-unused-imports -fwarn-orphans
:set -isrc -i../../libs-haskell/prettyprinter-syntax/src
:set -DGHC_STABLE
:set -XLambdaCase
:set -XBangPatterns
:set -XDeriveGeneric
:set -XRecordWildCards
:set -XScopedTypeVariables
:set -XNamedFieldPuns
:set -XTupleSections
:set -XTypeApplications
:set -XViewPatterns
:set -XGeneralizedNewtypeDeriving
:set -XStandaloneDeriving
:load test/Demo.hs