Re: [Haskell-cafe] Endian conversion

2005-10-05 Thread Udo Stenzel
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

Re: [Haskell-cafe] Confused about types

2005-10-05 Thread Henning Thielemann
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

[Haskell-cafe] CFP: PAPP 2006

2005-10-05 Thread Ch. A. Herrmann
- Please accept our apologies if you have received multiple copies. Please feel free to distribute it to those who might be interested. -

[Haskell-cafe] Papers from the 2005 Haskell Workshop (Tallinn)?

2005-10-05 Thread Dimitry Golubovsky
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

Re: [Haskell-cafe] Endian conversion

2005-10-05 Thread Marc Ziegert
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

[Haskell-cafe] Define a data structure of a predicate

2005-10-05 Thread Sara Kenedy
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

Re: [Haskell-cafe] Papers from the 2005 Haskell Workshop (Tallinn)?

2005-10-05 Thread Nils Anders Danielsson
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

Re: [Haskell-cafe] Papers from the 2005 Haskell Workshop (Tallinn)?

2005-10-05 Thread Dimitry Golubovsky
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

Re: [Haskell-cafe] Papers from the 2005 Haskell Workshop (Tallinn)?

2005-10-05 Thread Peter Scott
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