" Author: w0rp <devw0rp@gmail.com>
" Description: ghc for Haskell files
call ale#linter#Define('haskell', {
\ 'name': 'ghc',
\ 'output_stream': 'stderr',
\ 'executable': 'ghc',
\ 'command': 'ghc -fno-code -v0 %t',
\ 'callback': 'ale#handlers#haskell#HandleGHCFormat',
\})
\ 'name': 'stack-ghc',
\ 'executable': 'stack',
\ 'command': 'stack ghc -- -fno-code -v0 %t',