19

Does Visual Haskell for Visual Studio 2008/2010 exist? Or what are the alternatives to try it?

EDIT: I've got a lot of alternatives but it seems that there is no Visual Haskell right now.

Hun1Ahpu
  • 3,315
  • 3
  • 28
  • 34

9 Answers9

11

Leksah is something I've heard a lot of good things about. It's a Haskell IDE written in Haskell. I've never used it, so I can't promise anything. However, it is in active development and some people do use it, so it can't be too bad.

I know you're probably already tired of hearing this, but it would really be worthwhile to invest a day or two getting familiar with Emacs or Vim (I'm biased toward Emacs). It's not very hard to get a working Haskell set up in Emacs, as there is a very good mode for it available. The best thing about learning an editor like Emacs is that once you're familiar with it, it's always there. You can use it to write code in all of your favorite languages. I'm happy I learned to use Emacs just so I don't have to use a different IDE for nearly every language I use, and I don't always have to depend on an IDE, especially considering the fact that some languages don't even have IDEs. Newer ones, anyways.

Tyler
  • 21,762
  • 11
  • 61
  • 90
Rayne
  • 31,473
  • 17
  • 86
  • 101
10

In late 2005, Visual Studio support for Haskell was "almost finished" by a Russian student who had interned at Microsoft. Shortly thereafter, the student dropped out of sight, and the project was never finished. There have been periodic conversations at GHC Central about trying to bring it back, but I think there is just too much else going on: big focus on parallelism, new back end, new optimizer, LLVM back end, maybe a new code generator one day.

Maybe with Haskell Prime finally stable at "Haskell 2010", when the report comes out someone will be willing to do a front end for PLT Scheme, or maybe someone in the Netherlands will do an IDE for Helium.

Norman Ramsey
  • 198,648
  • 61
  • 360
  • 533
  • Recently, as part of a course at Utrecht University, some students tried to rip out Heliums back end. They wanted to replace it with the code generator from the Utrecht Haskell Compiler (UHC). Perhaps the same thing could be done, but using GHC as a backend for Helium. (If anyone is interested in doing that, contact the Helium team!) – Tom Lokhorst Apr 10 '10 at 11:28
7

Not sure if this meets your criteria for what is considered an alternative (looking for a language or an IDE?), but F# is a fully-Microsoft-supported (and VS2008/2010 supported) functional language for .NET. It's more ML-like than Haskell-like, but it's certainly closer to Haskell than, say VB :)

Daniel DiPaolo
  • 55,313
  • 14
  • 116
  • 115
6

Looks like there is a new Visual Haskell implementation in the works.

Simon Marlow
  • 12,785
  • 4
  • 42
  • 32
  • Yeah, it's very interesting. It's working just in Visual Studio 2010. But that's Okay. I hope we have something in this area soon. I think that Krasimir Angelov could contact with that person and to exchange ideas. – The_Ghost Aug 20 '10 at 15:56
4

To the best of my knowledge there is no currently published or publicly active project to update the existing visual haskell to newer versions.

The code for visual haskell is written in Haskell and talks via COM to visual studio. Now the problem is, that even if you update the com wrappers to be compatible with the new visual studios you'd still be stuck using a ghc 6.6 simply because it relied on internal structures of the compiler to work, some of which have already been removed from 6.8 going forward.

So any effort on this part will require a complete rewrite of plugin.

Now the good new is I am busy writing a version for visual studio 2010 (sorry no 2008) but supposedly I could release it as a standalone isolated shell for those who don't have vs 2010 (need to check the license more closely).

I'm also taking a different approach in the hope that it'll be more maintainable in the future. e.g. Not writing the interaction with visual studio in Haskell but using C#, not hardcode to the compiler but use the new API etc.

I only have time to work on it in the weekends, So I project (no promises) that I'll have a first version out around july.

Phyx
  • 2,697
  • 1
  • 20
  • 35
  • 1
    How is this project going. Do you have a link? – GloryDev Dec 19 '11 at 14:36
  • For various reasons(thesis, work, etc) it was put on hold for a long time, I've recently started working on it again in the weekends, but I'm busy rearchitecting it to solve current and future issues. So sorry, no link unfortunately. – Phyx Dec 23 '11 at 12:10
3

There is an Eclipse plug-in for Haskell. It depends on a slightly divergent version of Scion (!) but seems to work. However, I've only tried very simple tasks with it. Good luck! http://eclipsefp.sourceforge.net/

Tim Perry
  • 3,066
  • 1
  • 24
  • 40
  • IMO this should be first or second most upvoted answer, too bad it was answered too late so the other answers got the votes. Some cool things EclipseFP has: quick fixes for the real-time analysis issues, GUI for tests, compilation on save, well done property pages for the cabal project file – Răzvan Flavius Panda Nov 30 '14 at 06:40
  • @Răzvan Panda: it doesn't actually answer the question though :/ – Tim Perry Dec 01 '14 at 21:15
  • 1
    @TimPerry: That is true, but it is at least closer to a good alternative to having a VS plugin. :) – Răzvan Flavius Panda Dec 01 '14 at 21:45
1

There's also a Haskell plugin for IntelliJ IDEA in the works: http://code.google.com/p/ideah/wiki/InstallConfig

nponeccop
  • 13,527
  • 1
  • 44
  • 106
0

Hmm, there certainly don't seem to be binaries for anything since VS .NET 2005... maybe #haskell knows something about what happened to it?

SamB
  • 9,039
  • 5
  • 49
  • 56
0

You could create a makefile project and specify a custom build command line. However, code coloring and automatic statement completion won't work.

StackedCrooked
  • 34,653
  • 44
  • 154
  • 278
  • Yea, just tried it myself. Horrible. Is there any IDE other than eclipse for Haskell or is ST the only other feasible alternative? – Games Brainiac Dec 30 '13 at 21:04