Re: [Haskell-cafe] Detecting Cycles in Datastructures

2005-11-19 Thread Jacob Nelson
http://users.info.unicaen.fr/~karczma/arpap/ On Sat, 19 Nov 2005, Gracjan Polak wrote: 2005/11/19, Benjamin Franksen [You should read some of his papers, for instance the most unreliable techique in the world to compute pi. I was ROTFL when I saw the title and reading it was an eye-opener

Re: [Haskell-cafe] Specify array or list size?

2005-05-07 Thread Jacob Nelson
GCC knows how big an array is: jake$ cat arrsizetest.c #include stdio.h int main() { int a[50]; printf(sizeof a == %d\n,sizeof(a)); return 0; } jake$ gcc arrsizetest.c jake$ ./a.out sizeof a == 200 jacob On Sat, 7 May 2005, Thomas Davie wrote: No, it introduces a variable

Re: [Haskell-cafe] Specify array or list size?

2005-05-07 Thread Jacob Nelson
On Sat, 7 May 2005, Abraham Egnor wrote: So does ghc: ... That doesn't mean the size is part of the *type*. Sure. I'm just pointing out that int a[50]; is not *quite* the same as int *a = (int *)malloc(50 * sizeof(int)); jacob ___ Haskell-Cafe

Re: [Haskell-cafe] Comparison with Clean?

2005-05-04 Thread Jacob Nelson
On Wed, 4 May 2005, Benjamin Franksen wrote: We may have a different copy of SICP, but in mine (2nd edition) there is Chapter 4.2 Variantions on a Scheme -- Lazy Evaluation and in particular 4.2.2 An Interpreter with Lazy Evaluation. Here's the direct link:

Re: [Haskell-cafe] Some random newbie questions

2005-01-06 Thread Jacob Nelson
Graphics.SOE, rather than SOEGraphics. I ran the original code under GHCi 6.3, importing Graphics.SOE, without problems. Jacob Nelson ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe