Hia folks,
More performance bugs or misunderstandings. Yes, binary serialisation
again.
Consider this example from an instance for the Binary serialisation
class. We get lots and lots of code that looks like this:
data Foo a = Foo Int | Bar ...
instance Binary Foo where
put (Foo a) = putTag 0
Hia all,
I'm trying to figure out why this piece of code does not optimise the
way I expect. It's binary serialisation again. Yes, again.
The crux is the write function
write :: Int -> (Ptr Word8 -> IO ()) -> Put ()
write !n body = Put $ \c buf@(Buffer fp o u l) ->
if n <= l
then write' c
Hi.
You've probably already noticed, but in case not, there are now two
installers available for Windows:
http://www.haskell.org/ghc/download_ghc_661.html#windows
I installed the "old style Windows Installer, prepared by Sigbjorn
Finne". ghc --version says:
The Glorious Glasgow Haskell Compi
On Fri, Jun 01, 2007 at 04:00:51PM +0200, TOPE KAREM wrote:
> I am very new to Haskell, and I am using this webpage as a learning source:
> http://www.haskell.org/haskellwiki/Haskell_in_5_steps#Install_Haskell
>
> I downloaded and instal GHC and it works as was said.
>
> I tried to write my first
On Fri, 2007-06-01 at 16:00 +0200, TOPE KAREM wrote:
> I opened a notepad and type this program:
>
> main = putStrLn "Hello, Word!"
>
> I saved this file as hello.hs in the same directory GHCi 6.6.1 was
> installed.
You can store it anywhere, as long as GHC is in your search path.
> When I tri
Hi Tope,
> When I tried to compile it as instucted on the webpage ( $ ghc -o hello
> hello.hs), I got this error message.
are you actually typing in that '$' into the command prompt? try leaving
out the '$' and just type "ghc -o hello hello.hs".
Chris.
_
I am very new to Haskell, and I am using this webpage as a learning source:
http://www.haskell.org/haskellwiki/Haskell_in_5_steps#Install_Haskell
I downloaded and instal GHC and it works as was said.
I tried to write my first Haskell program:
prelude> "Hello World!"
"Hello World, World!"
it wo
Gregory Wright wrote:
The x86-64 (or amd64 if you like) Linux port doesn't do relocation of
data references outside 2Gb. It is the subject of this bug:
http://hackage.haskell.org/trac/ghc/ticket/781
the underlying problem is that the relocatable reference is only 32
bits, because we're wo