[Haskell-cafe] Ease of Haskell development on OS X?

Hans Aberg haberg at math.su.se
Fri Mar 20 18:12:18 EDT 2009

On 20 Mar 2009, at 22:44, Miguel Mitrofanov wrote:

>> Here is info about ghc:
>>> $ port info ghc
>>> ghc 6.8.3, Revision 1, lang/ghc (Variants: universal, darwin_6,  
>>> darwin_7, darwin_8_powerpc, darwin_8_i386, darwin_9_powerpc,  
>>> darwin_9_i386, no_opengl)
>>> http://haskell.org/
> A bit out of date:
> MigMit:~ MigMit$ port info ghc
> ghc @6.10.1, Revision 8 (lang, haskell)
> ...blah-blah...
> Maybe, your $(port version)

You mean 'port version' (or 'echo $(port version)') :-).

> is still 1.600?

That is right. One should from time-to-time run
   sudo port -d selfupdate
I do not have the ports version of GHC installed. So the version of  
'port' itself may affect the info about packages, too, it seems.

In addition, one may have to download a new copy from the site. This  
happened when I made a new system installation (though restore from  
the Time Machine backup worked fine).

Also, updating may break some code - libraries are dynamically linked.  
I used this for a compile of Scala (in Ada) which links to the  
MacPorts Gtk+ libraries. And now you tricked me to update - let's see  
if it breaks.


More information about the Haskell-Cafe mailing list