2018-03-31 10:55:20 -04:00
|
|
|
===============================================================================
|
|
|
|
ALE Haskell Integration *ale-haskell-options*
|
|
|
|
|
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
brittany *ale-haskell-brittany*
|
|
|
|
|
|
|
|
g:ale_haskell_brittany_executable *g:ale_haskell_brittany_executable*
|
|
|
|
*b:ale_haskell_brittany_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'brittany'`
|
|
|
|
|
|
|
|
This variable can be changed to use a different executable for brittany.
|
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
ghc *ale-haskell-ghc*
|
|
|
|
|
|
|
|
g:ale_haskell_ghc_options *g:ale_haskell_ghc_options*
|
|
|
|
*b:ale_haskell_ghc_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'-fno-code -v0'`
|
|
|
|
|
|
|
|
This variable can be changed to modify flags given to ghc.
|
|
|
|
|
|
|
|
===============================================================================
|
2018-07-30 17:18:16 -04:00
|
|
|
cabal-ghc *ale-haskell-cabal-ghc*
|
|
|
|
|
|
|
|
g:ale_haskell_cabal_ghc_options *g:ale_haskell_cabal_ghc_options*
|
|
|
|
*b:ale_haskell_cabal_ghc_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'-fno-code -v0'`
|
|
|
|
|
|
|
|
This variable can be changed to modify flags given to ghc through cabal
|
|
|
|
exec.
|
|
|
|
|
|
|
|
===============================================================================
|
2018-03-31 10:55:20 -04:00
|
|
|
hdevtools *ale-haskell-hdevtools*
|
|
|
|
|
|
|
|
g:ale_haskell_hdevtools_executable *g:ale_haskell_hdevtools_executable*
|
|
|
|
*b:ale_haskell_hdevtools_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'hdevtools'`
|
|
|
|
|
|
|
|
This variable can be changed to use a different executable for hdevtools.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_haskell_hdevtools_options *g:ale_haskell_hdevtools_options*
|
|
|
|
*b:ale_haskell_hdevtools_options*
|
|
|
|
Type: |String|
|
2018-06-14 06:31:12 -04:00
|
|
|
Default: `get(g:, 'hdevtools_options', '-g -Wall')`
|
2018-03-31 10:55:20 -04:00
|
|
|
|
|
|
|
This variable can be changed to modify flags given to hdevtools.
|
|
|
|
|
2018-06-14 06:31:12 -04:00
|
|
|
The hdevtools documentation recommends setting GHC options for `hdevtools`
|
|
|
|
with `g:hdevtools_options`. ALE will use the value of `g:hdevtools_options`
|
|
|
|
for the value of `g:ale_haskell_hdevtools_options` by default, so this
|
|
|
|
option can be respected and overridden specifically for ALE.
|
|
|
|
|
|
|
|
|
2018-03-31 10:55:20 -04:00
|
|
|
===============================================================================
|
|
|
|
hfmt *ale-haskell-hfmt*
|
|
|
|
|
|
|
|
g:ale_haskell_hfmt_executable *g:ale_haskell_hfmt_executable*
|
|
|
|
*b:ale_haskell_hfmt_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'hfmt'`
|
|
|
|
|
|
|
|
This variable can be changed to use a different executable for hfmt.
|
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
stack-build *ale-haskell-stack-build*
|
|
|
|
|
|
|
|
g:ale_haskell_stack_build_options *g:ale_haskell_stack_build_options*
|
|
|
|
*b:ale_haskell_stack_build_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'--fast'`
|
|
|
|
|
|
|
|
We default to using `'--fast'`. Since Stack generates binaries, your
|
|
|
|
programs will be slower unless you separately rebuild them outside of ALE.
|
|
|
|
|
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|