15 May 22:57
Re: Write Haskell as fast as C. [Was: Re: GHC predictability]
From: Andrew Coppin <andrewcoppin <at> btinternet.com>
Subject: Re: Write Haskell as fast as C. [Was: Re: GHC predictability]
Newsgroups: gmane.comp.lang.haskell.cafe
Date: 2008-05-15 20:57:07 GMT
Subject: Re: Write Haskell as fast as C. [Was: Re: GHC predictability]
Newsgroups: gmane.comp.lang.haskell.cafe
Date: 2008-05-15 20:57:07 GMT
Mattias Bengtsson wrote: > A good read. > With Don, it usually is.> Side point: Is the name "go" part of the idiom you mentioned? I > sometimes use the same practise but usually just calls the worker the > same as the real function with an added prime ('). > I usually use "work". Same difference.
From what I can tell, the Prelude implementation in the Haskell Report uses primes on the function names [in the tiny number of cases where a worker function is actually required]. Each to their own...
> Side point: Is the name "go" part of the idiom you mentioned? I
> sometimes use the same practise but usually just calls the worker the
> same as the real function with an added prime (').
>
I usually use "work". Same difference.
From what I can tell, the Prelude implementation in the Haskell Report
uses primes on the function names [in the tiny number of cases where a
worker function is actually required]. Each to their own...
RSS Feed