Is there something like ipython for Haskell? GHCI is fine but some subtleties are missing. Like typing a prefix and going through a subset of the command history. And also the numpy/scipy/matplotlib toolkit that come with the -pylab option would be great!
Haskell Platform 2013.2.0.0
51–58 of 58 posts
Re: Haskell Platform 2013.2.0.0
#52Re: Haskell Platform 2013.2.0.0
#53Is there something like ipython for Haskell? GHCI is fine but some subtleties are missing. Like typing a prefix and going through a subset of the command history. And also the numpy/scipy/matplotlib toolkit that come with the -pylab option would be great!
Maybe it is possible to write a haskell mode for ipython? I watched Fernando and one of the Julia guys hack up communication between ipython and a Julia interpreter in an afternoon. Depending on how ghci is implemented it might not be much harder.
Re: Haskell Platform 2013.2.0.0
#54Earlier quoted context omitted.
ok! Well I was terrified by the big fat warnings that doing so might break your packages randomly.
GHC uses a per-version package database, so that should never be possible for different GHC versions. For example, I have the 7.4 from platform installed in /usr/bin/ghc (the normal location for Platform installs on OSX) and 7.7 installed in ~/ghc. Switching between the two versions is as easy as making sure that ~/ghc/bin is on my path before /usr/bin/ghc. All I need to do is "export PATH=~/ghc/bin:$PATH" and things…
Re: Haskell Platform 2013.2.0.0
#55https://github.com/byrongibson/scripts/tree/master/install/h...
This lets you install multiple versions, of both Platform and standalone GHC, and swap the active one with a single command. Those scripts are for a prior version, but works the same, just update the versions.
Re: Haskell Platform 2013.2.0.0
#56Earlier quoted context omitted.
afaik, carmack is working on a Haskell implementation for wolfenstein 3D. this might have been his excuse to start that project. there is a really primative FPS shooter up on the haskell wiki, but its really not well structured. http://www.haskell.org/haskellwiki/Frag
To be fair, it is the world's first 3D FPS written using a functional reactive programming style. 8 years ago. By one guy who was learning Haskell. In 8 weeks.
Re: Haskell Platform 2013.2.0.0
#57I would also recommand EclipseFP. It is an amazingly well working Eclipse Plugin for Haskell with incremental compiling, debugger, Smalltalk like browser, and other nice features. http://eclipsefp.github.io/features.html
It even has support for uuagc (dsl for attribute grammars)!
Re: Haskell Platform 2013.2.0.0
#58The Haskell guys really, really need a coherent story for database access. Perl has this with DBI/DBD for example, Java with JDBC, .NET has one (or ten, depending how you count it), etc. Adding that to Platform is the single biggest thing they could do to drive adoption.
What's wrong with HDBC?