Hi Gregory,
On Mon, Apr 02, 2007 at 11:57:49AM -0400, Gregory Wright wrote:
>
> On Apr 1, 2007, at 6:22 PM, Ian Lynagh wrote:
>
> >Does the 6.6 one work with 6.4.2?:
> >
> >puts :: String -> IO ()
> >puts s = do write_rawBuffer 1 (unsafeCoerce# (packCString# s))
> >0
Hi,
For those who live on the bleeding edge, I have made a port of the
latest development version of ghc for OS X through MacPorts. (If you
are not familiar
with MacPorts, see http://macports.org.)
The build is from the darcs repository, and installs its binaries
as -6.7. . This naming all
Hello Gregory,
Monday, April 2, 2007, 7:57:49 PM, you wrote:
>> puts :: String -> IO ()
>> puts s = do write_rawBuffer 1 (unsafeCoerce# (packCString# s))
>> 0 (fromIntegral (length s))
>> return ()
>>
>> (packCString# come from GHC.Pack)
you may try to cal
Hi Ian,
On Apr 1, 2007, at 6:22 PM, Ian Lynagh wrote:
On Sun, Apr 01, 2007 at 06:10:25PM -0400, Gregory Wright wrote:
Ah, remove the #if/#endif around the definition of "puts", its
export,
and the GHC.Pack import in libraries/base/GHC/Handle.hs
No such luck. I even copied "puts" into l
There is also a special page all about building GHC on MaxOSX
http://hackage.haskell.org/trac/ghc/wiki/Building/MacOSX
If it doesn't explain enough about readline (e.g. does it include "the nice
post from the blogosphere"?), perhaps someone can enhance it?
In general, when building GHC,