Questions tagged [intero]

Intero provides Haskell IDE support for Emacs and Neovim. Please use the emacs, vim or neovim tags in addition to this tag, where appropriate.

27 questions
10
votes
1 answer

Using Hlint with intero on emacs

I can't get hlint suggestions to appear in emacs using intero. I have a new installation of emacs 24.5 I added the intero stuff at here into new ~/.emacs file I've done nothing else to emacs. I've read that the solution…
BillyBadBoy
  • 552
  • 3
  • 18
6
votes
2 answers

Intero: ghc from stack configuration does not match

When intero-mode tries automatically installing Intero, it produces the following error: Intero is not installed in the Stack environment. Installing intero-0.1.23 automatically ... Error: While constructing the build plan, the following…
bradrn
  • 8,337
  • 2
  • 22
  • 51
5
votes
1 answer

intero error: wrong-type-argument stringp nil

I'm trying to get intero running. After install, opening a Haskell file from an existing stack project results in: Debugger entered--Lisp error: (wrong-type-argument stringp nil) signal(wrong-type-argument (stringp nil)) flycheck-buffer() …
Maxim
  • 173
  • 5
4
votes
1 answer

Stack fails to install intero

I just installed Stack using curl -sSL https://get.haskellstack.org/ | sh The install went fine but when trying to install Intero using Stack it fails ffriis@BNEC02QR6Y0G8WN ~> stack install hlint intero Error: While constructing the build plan,…
fred
  • 1,812
  • 3
  • 37
  • 57
4
votes
0 answers

Got problems with Intero. (or Haskero)

When I put on mouse on phrases, intero says "Couldn't guess that module name. Does it exists". It whines on function name, module name, every word of string, and even space or tab character. It does not cause fatal error or stop compiling, but it's…
SAN
  • 69
  • 3
4
votes
1 answer

How to get Haskero to warn on non-exhaustive pattern matches

I'm currently evaluating Haskero in Visual Studio Code as an alternative Haskell editor instead of Atom with Atom-Haskell. So far, Haskero seems promising, but I miss the compiler warnings I'd usually get from Atom-Haskell. As a way to illustrate…
Mark Seemann
  • 225,310
  • 48
  • 427
  • 736
4
votes
2 answers

Compilation error building intero

I cannot use emacs on a new stack project because intero fails to build. I've just installed stack 1.6.3 on ubuntu 16.04 I created a new (lts-10.2) stack project ('play') using: stack new play When I try to open the source files in emacs it fails…
BillyBadBoy
  • 552
  • 3
  • 18
4
votes
1 answer

Check which targets/components a stack target/component depends on?

By running stack ide targets, I can get a list of all the targets in a stack project. For example, for Halive, I…
dcastro
  • 66,540
  • 21
  • 145
  • 155
4
votes
2 answers

Intero : Failed to load interface for Lib

I am trying to setup my Haskero (Visual Studio Code extension that uses Intero) for my Haskell project, yet I get the following error : app\Main.hs:3:1: error: Failed to load interface for `Lib' Use -v to see a list of the files searched…
Ford O.
  • 1,394
  • 8
  • 25
4
votes
1 answer

Haskell / Intero - send lines to Intero REPL buffer

I've been attempting to use Haskell for running a simple production process. Like many production processes, it involves changing the states of things all over the place. For this reason, it would be really handy for me to have a script file where I…
Mike Flynn
  • 1,025
  • 2
  • 12
  • 29
3
votes
1 answer

Intero always installs isolated GHC

I opened a Haskell file on a fresh installation of Emacs & Intero. While booting up, intero is trying to install an isolated GHC. This even though my project has stack.yaml which has system-ghc: true. Running stack install in this directory does not…
tejasbubane
  • 914
  • 1
  • 8
  • 11
3
votes
1 answer

Running emacs intero-mode with stack docker integration

I'm trying to use intero-mode in a stack project that has the docker integration enabled. Therefore its stack.yml contains: docker: enable: true image: my-project/build:lts-11.9 Even though, when I open any .hs file in the project, intero-mode…
Jesuspc
  • 1,664
  • 10
  • 25
3
votes
2 answers

Haskero fails with "Not a valid Unicode code point!"

I'm trying to run Haskero to do Haskell editing with VSCode. However, it's failing on initialization, with the following error: Initializing Haskero... Spawning process 'stack' with command 'stack ghci --with-ghc intero…
jmite
  • 8,171
  • 6
  • 40
  • 81
3
votes
0 answers

Is it possible in emacs intero-mode to start a session on a remote host

I have: mac laptop (running emacs, haskell-mode intero installed) linux cluster (don't have root access) can mount home partition using sshfs stack installed and running in user mode Would it be possible to let the stack and ghci and other…
2
votes
1 answer

How to add dependencies and make it visible to Intero in Haskell

I want to use System.Directory in emacs with Haskell mode and Intero, While the on the fly check warns that Couldn't find module System.Directory. So I add some dependencies in my cabal file. And the warning doesn't disappear while the stack build…
handora
  • 559
  • 5
  • 14
1
2