TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Intero for Emacs: complete interactive development program for Haskell

198 pointsby primodemusalmost 9 years ago

11 comments

mark_l_watsonalmost 9 years ago
I saw this notice on Reddit early yesterday morning and ended up using Intero for most of the day. Love it! There are a lot of improvements over and above the Emacs Haskell mode. I really like how fast it is to control-c-l and be put n the correct module and be running in seconds. I also like the realtime syntax error hints, type information, etc.
cm3almost 9 years ago
There should be a warning that on first start of intero-mode, this will initiate a rather long stack operation, which I suppose is extra long if you hadn't used stack before. Also, it seems to insist on a stack'ised project. But I suppose one could say that should be obvious. I use cabal because stack misses some features and is a little weird and use stack when I have to. And even though I have intero installed and in $PATH, when opening an actual project with a stack file, it start building intero. Weird automatism.
评论 #12266903 未加载
评论 #12266154 未加载
评论 #12266050 未加载
jesserosenthalalmost 9 years ago
This looks great! My only complaint is that sometimes I do want to work on a quick script outside of a stack environment, and this seems like an all-or-nothing proposition. (I use haskell for pandoc filters quite a bit, for example, and setting up stack for that seems like overkill.) I'm sure a bit of elisp could make it fall back to haskell mode if it can't find a local .stack dir.
评论 #12266910 未加载
avindrothalmost 9 years ago
Haskell changed my life. Then Intero did it again.
pashalmost 9 years ago
I've been waiting for this release before finally trying to switch from Vim (MacVim) to Spacemacs. Anybody have any tips for somebody who's never really used Emacs?
评论 #12265275 未加载
评论 #12265231 未加载
评论 #12266442 未加载
评论 #12266008 未加载
评论 #12266634 未加载
评论 #12265213 未加载
gravypodalmost 9 years ago
I wish I could get a similar utility for Python and Javascript as this seems to show off some cool FP auto complete.<p>I&#x27;m basically looking for a way to remove my dependency on my 5-7 IDEs and I don&#x27;t know how. I wish someone could show me a very good, simple, alternative to all of them. I work in C, Java, JavaScript, Python, PHP, and C# and I&#x27;d like to be able to use a single IDE solution for all of them. Sadly I cant find anything with good auto completion and nice features (like things offered by Eclipse).<p>This has some really promising features, I&#x27;ve got to say I&#x27;m amazed.
评论 #12266226 未加载
评论 #12266870 未加载
评论 #12268106 未加载
评论 #12266075 未加载
评论 #12266657 未加载
评论 #12266968 未加载
评论 #12265960 未加载
评论 #12267081 未加载
seagreenalmost 9 years ago
Looks like I&#x27;ve got a choice to make (all on NixOS):<p>+ Stick with NeoVim and hope one of the Intero ports to that editor takes off (as I understand it there are a couple right now)<p>+ Switch to Emacs+Evil+Intero. I&#x27;ve never used Emacs before (even with Evil) so it would be a little work.<p>If someone more up-to-date on the situation has advice that would be awesome:)
评论 #12265272 未加载
评论 #12265255 未加载
评论 #12265201 未加载
oggyalmost 9 years ago
It didn&#x27;t &quot;just work (TM)&quot; for me, I had to customize the intero-package-version in my .emacs when using it with a project with the latest stack-nightly, to bump it up to &quot;0.1.16&quot;.<p>But other than that, wow! I was already very happy whenever I could get ghc-mod and haskell-mode to work, but this takes the responsiveness to a whole different level.
patrecalmost 9 years ago
Very nice! But is there currently no way to get any information about third party code other than the type signature (C-c C-t or C-C C-i)? Ideally I&#x27;d like to be able to both navigate to the source code and see the documentation.<p>It might also be good to mention that you need to apt-get install libcurses5-dev for the haskell code to build.
icc97almost 9 years ago
Wonderful package. Works nicely on Windows too [1].<p><pre><code> [1]: https:&#x2F;&#x2F;ianchanning.wordpress.com&#x2F;2016&#x2F;08&#x2F;11&#x2F;installing-haskell-emacs-on-windows&#x2F;</code></pre>
pjmlpalmost 9 years ago
I rather use Leksah (<a href="http:&#x2F;&#x2F;leksah.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;leksah.org&#x2F;</a>), but it is nice to see other options available.