Why don't you pull out 4 bytes and assemble them manually?
To that I'd like to add a snippet from NewBinary itself:
| instance Binary Word32 where
| put_ h w = do
| putByte h (fromIntegral (w `shiftR` 24))
| putByte h (fromIntegral ((w `shiftR` 16) .. 0xff))
| putByte h
On Fri, 30 Sep 2005, Lanny Ripple wrote:
newton_h, next_x_h, dy_h :: (Fractional a, Ord a) = (a - a) -
a - a - a
newton_h f x h = until ((= h) . abs . f) (next_x_h f h) x
If this shall be more than a disposable example, I suggest to separate
the Newton iteration from the abort of the
-
Please accept our apologies if you have received multiple copies.
Please feel free to distribute it to those who might be interested.
-
The papers presented at the Workshop are already available in the ACM
library which requires membership/subscription to read full text PDFs.
Are there any plans to make those papers available anywhere else on
the Web without subscription?
--
Dimitry Golubovsky
Anywhere on the Web
you are right, that pice of code is ugly. i would write sth simmilar
(Int32-[Word8]) like you did, iff it should be able to cross-compile or do not
need to be fast or should not need TH.
well, i think, in the case of joel's project the last sentence means ..., iff
true or true or undefined.
is
Hello you all,
I am a newbie in Haskell. Now I am working on datatype structure of
Haskell, especially on predicate. Today I try to search on Internet to
find the reference document but I did not find the specific. If any of
you know how to define a data structure for the abstract syntax of
On Wed, 05 Oct 2005, Dimitry Golubovsky [EMAIL PROTECTED] wrote:
The papers presented at the Workshop are already available in the ACM
library which requires membership/subscription to read full text PDFs.
Are there any plans to make those papers available anywhere else on
the Web without
Nils Anders Danielsson wrote:
Most authors do put their papers on their web pages nowadays.
In particular, I would like to read the paper on halfs (haskell
filesystem). Googling for halfs haskell filesystem gave nothing but
the Workshop's schedule and ACM Library TOC.
Dimitry Golubovsky
On 10/5/05, Dimitry Golubovsky [EMAIL PROTECTED] wrote:
In particular, I would like to read the paper on halfs (haskell
filesystem). Googling for halfs haskell filesystem gave nothing but
the Workshop's schedule and ACM Library TOC.
The paper on the ACM web site is only half a page long. It