Re: can't write instance Storable

2002-08-01 Thread Fergus Henderson
On 01-Aug-2002, Hal Daume III <[EMAIL PROTECTED]> wrote: > Okay, I'm dumb and can't figure this out. I'm migrating hMPI from GHC > 4.08 to GHC 5.04 (fun fun) and am having trouble writing an instance of > Storable. The relevant information is: > > > import Foreign.Storable > > type MPI_Rank_Typ

can't write instance Storable

2002-08-01 Thread Hal Daume III
Okay, I'm dumb and can't figure this out. I'm migrating hMPI from GHC 4.08 to GHC 5.04 (fun fun) and am having trouble writing an instance of Storable. The relevant information is: > import Foreign.Storable > type MPI_Rank_Type = Int > newtype MPI_Rank = MPI_Rank MPI_Rank_Type deriving (Eq) >