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
2
votes
0 answers

Eldoc errors in Haskell Intero mode in Emacs

I'm running Intero and Emacs 25.3.1 on a Mac. It was working fine until a few days ago. Now, every time I load a Haskell file I get Error while checking syntax automatically: (wrong-type-argument number-or-marker-p "Abort trap: 6") I don't know…
composerMike
  • 966
  • 1
  • 13
  • 30
2
votes
1 answer

Why can't emacs find the haskell-mode package?

The error I am currently getting is: File error: http://melpa.org/packages/haskell-mode-20161110.316.tar, Not found when installing intero. How do I go about fixing this? Thank you!
pebblexe
  • 165
  • 8
2
votes
1 answer

Haskell can't :load a File in ghci: changeWorkingDirectory: does not exist

I'm in a ghci session trying to load a Main.hs file I've been working on. It looks like I'm in the right directory in that I can see the file: ghci λ> :cd /home/username/codeplace ghci λ> :! ls lib.hs Main.hs But I can't…
Mittenchops
  • 18,633
  • 33
  • 128
  • 246
2
votes
1 answer

Update Intero flycheck after changing cabal file

I am using Intero under emacs to edit my new Haskell project. I added an import to a third-party library to my code to see if Intero would automatically add the necessary dependency, but it didn't. So I edited the .cabal file manually to add the…
Robin Green
  • 32,079
  • 16
  • 104
  • 187
1
vote
1 answer

Intero doesn't find Paths-module when using cabal data files

When I use the data-files feature of cabal, it generates a Paths_pkgname.hs module that lives in the dist/ folder. However, intero is unable to find this file (or generate it on its own), and I can't find any means to pass an option to hint at its…
plc
  • 864
  • 8
  • 20
1
vote
0 answers

How to configure Spacemacs to use the global installed intero?

Whenever I create a new project and I open it with Spacemacs, Spacemacs will try to install a local intero over and over again leaving me waiting for it to finish the installation. Can I just use my global installed intero for all my stack projects?
Vimniky Luo
  • 156
  • 1
  • 6
1
vote
1 answer

Reinstalling intero using stack

I deleted intero from ~/Users/amir/.stack/snapshots/x86_64-osx/lts-9.14/8.0.2/bin/. Now if i run stack install intero. I get the following error: Couldn't find executable intero in directory ~/.stack/snapshots/x86_64-osx/lts-9.14/8.0.2/bin/ Is…
Amir
  • 189
  • 2
  • 12
0
votes
1 answer

Haskero not finding definitions

I installed the Haskero plugin into VS Code as per the instructions there. I then followed the steps outlined in https://gitlab.com/vannnns/haskero/blob/master/client/doc/installation.md, or specifically Steps 5 and 6 as I already had a Stack…
Motorhead
  • 928
  • 6
  • 16
0
votes
1 answer

How to reload the project after dependencies is added?

During the development, I've added a library to package.yaml and the GHCi is already started. For example, I've added the bytestring library: executables: playground-exe: main: Main.hs source-dirs: app …
softshipper
  • 32,463
  • 51
  • 192
  • 400
0
votes
0 answers

Emacs Haskell Intero problems

I am writing the Haskell programs with the package readline. When I use the Intero and cabal file to autoinstall the package, it reports the error and can't recognize the package. while I can install it with stack perfectly. below is part of my…
handora
  • 559
  • 5
  • 14
0
votes
2 answers

Setting compiler options for intero in emacs

When I am developing I like to have -fdefer-type-errors and -XPartialTypeSignatures enabled. Currently I just add {-# LANGUAGE PartialTypeSignatures #-} {-# OPTIONS_GHC -fdefer-type-errors #-} to the top of the file I am working with. However this…
Julia Path
  • 2,356
  • 15
  • 21
0
votes
0 answers

Intero Emacs error

I am getting the following error. Anyone knows how to solve it?
user12457
  • 191
  • 4
1
2