On Wed, 2005-04-27 at 07:45 +0200, Ketil Malde wrote:
[I want to know] who called who all the way from main to head,
because the key function is going to be one somewhere in the middle.
Perhaps. I am told stack backtraces are difficult with non-strict
semantics.
This is true, at least
Hi,
Excuse the newbie'ness of my question.
Saw an example in Two Dozen Questions by Rexx Page.
blocks blockSize =
takeWhile ( not . null ) . map fst .
iterate (splitAt blockSize . snd) . splitAt blockSize
What is the meaning of the . operators outside the parentheses ?
Thsi
Thanks, that clears it up
I was thinking that the output of (splitAt blockSize) would get piped to
(splitAt blockSize . snd).
Did not realize it goes to the whole iterate part.
-Original Message-
From: Henning Thielemann [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 27, 2005 4:37 PM
On Wednesday 27 April 2005 15:46, Anuj Seth wrote:
Thanks, that clears it up
I was thinking that the output of (splitAt blockSize) would get piped to
(splitAt blockSize . snd). Did not realize it goes to the whole iterate
part.
It is useful to keep in mind that function application ('f x') is
Hi
I am trying to make a class like this:
class CRank a b where
rank :: a - b - Maybe Integer -- Nothing means b is out of range
or badly constructed
unrank :: a - Integer - Maybe b -- Nothing means rank is out of range
count :: a - Maybe Integer -- Nothing means infinity
with possible
On Wednesday 27 April 2005 19:12, Bo Herlin wrote:
I am trying to make a class like this:
class CRank a b where
rank :: a - b - Maybe Integer -- Nothing means b is out of range
or badly constructed
unrank :: a - Integer - Maybe b -- Nothing means rank is out of
range count :: a
On Wednesday 27 April 2005 22:12, Benjamin Franksen wrote:
Another trick is to split the class:
class Countable a where
count :: a - Maybe Integer -- Nothing means infinity
class Countable a = CRank a b where
rank :: ...
...
This solution has similar disadvantages as the
Hello,
I am pleased to announce that I have used tailor.py to successfully
convert the entire history of fptools HEAD branch, dating back to
1996, from CVS to darcs. For those of you that don't know, fptools
represents the development area for the GHC Haskell compiler as well
as many other
Ok, i got it now, thanks for the help.
/Bo
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe