Live data from Hacker News

Haskell Platform 2013.2.0.0

haskell.org

51–58 of 58 posts

Re: Haskell Platform 2013.2.0.0

#51

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!

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

#52
I've recently discovered livescript (livescript.net), a puckishly named coffee-script-inspired transpiler for node. Its syntax captures some of the best of Haskell, without going down the 'HaskellScript' route followed by e.g. Fay (which I find tends to trade off usability and fitness for purpose against fidelity to the original.) Livescript's answer to underscore is called 'prelude-ls' and is pretty powerful. Highly recommended for Haskell fans stuck in a sandbox.

Re: Haskell Platform 2013.2.0.0

#53

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!

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.

http://bfj7.com/posts/2013-04-22-innovation-week-days-1-2.ht... (haven't tried it yet)

Re: Haskell Platform 2013.2.0.0

#54
post #43

Earlier 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…

Ah thanks, did not know that! I'm on Windows but switching paths should be possible on Windows as well. :)

Re: Haskell Platform 2013.2.0.0

#55
Fwiw it installs beautifully on Debian-based systems using the Debian Alternatives system:

https://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

#56
post #35
post #16

Earlier 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.

While writing his undergrad thesis at the same time!

Re: Haskell Platform 2013.2.0.0

#57

I 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 is a very good plugin. Moresmau and other contributors deserve a statue.

It even has support for uuagc (dsl for attribute grammars)!

Re: Haskell Platform 2013.2.0.0

#58
post #22

The 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?

HDBC isn't in Platform!
Post reply on HN