[ ghc-Bugs-655400 ] Returning Double from foreign fun. fails

2002-12-17 Thread noreply
Bugs item #655400, was opened at 2002-12-17 20:43 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=655400group_id=8032 Category: Compiler Group: 5.04.2 Status: Open Resolution: None Priority: 5 Submitted By: Henrik Nilsson (nhn) Assigned to:

[ ghc-Bugs-655400 ] Returning Double from foreign fun. fails

2002-12-17 Thread noreply
Bugs item #655400, was opened at 2002-12-17 12:43 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=655400group_id=8032 Category: Compiler Group: 5.04.2 Status: Open Resolution: None Priority: 5 Submitted By: Henrik Nilsson (nhn) Assigned to:

Finalmente!!!

2002-12-17 Thread Alessia
Stanco dei soliti siti per adulti?!? VIENIMI A TROVARE QUI... http://pornomania.isfun.net il nuovo portale del sesso che ti offre tutto ciĆ² che gli altri non ti danno... http://pornomania.isfun.net puoi anche chattare con me o le mie amiche in webcam... vieni, non vedo l'ora di conoscerti

duplicating handles

2002-12-17 Thread Hal Daume III
Question about dupTo...you can use it to, for instance, redirect stdout to a file. What if I want to have stuff that is printed to stdout to be redirect to a file *and also* printed to stdout. I fooled around with a few combinations, but nothing seems to work. Please help :) -- Hal Daume III

Re: ANNOUNCE: GHC version 5.04.2 released

2002-12-17 Thread Jorge Adriano
Hi, Are there going to be SuSE rpms available anytime soon? Anyone working on them? Thanks, J.A. ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Foundations of Object-Oriented Languages (FOOL10): Call for Participation

2002-12-17 Thread ghelli
Call for Participation == 10th International Workshop on Foundations of Object-Oriented Languages (FOOL10) January 18, 2003 - New Orleans, Louisiana

RE: Running out of memory in a simple monad

2002-12-17 Thread Simon Marlow
Alastair Reid writes: The workaround is simple enough: add a dummy argument to the CAF (so that it is not a CAF any more): main _ = loop 5 and then specify the extra argument when invoking it: main () (This is a pretty standard optimisation technique: we're trading time

Re: fundeps question

2002-12-17 Thread Jeffrey R Lewis
On Monday 16 December 2002 18:18, Ashley Yakeley wrote: In article [EMAIL PROTECTED], Hal Daume III [EMAIL PROTECTED] wrote: I spent about a half hour toying around with this and came up with the following, which seems to work (in ghci, but not hugs -- question for smart people: which is

Re: ANNOUNCE: GHC version 5.04.2 released

2002-12-17 Thread Jorge Adriano
Hi, Are there going to be SuSE rpms available anytime soon? Anyone working on them? Thanks, J.A. ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

Random

2002-12-17 Thread Filipe Santos
I need some help to do a function so that I cant get 4 numbers between 1 and 6, i tried to use random but i can't make it work well. ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Random

2002-12-17 Thread Mark Carroll
On Tue, 17 Dec 2002, Filipe Santos wrote: I need some help to do a function so that I cant get 4 numbers between 1 and 6, i tried to use random but i can't make it work well. This might be useful, import Random dice :: (RandomGen g) = g - Int - (g, [Int]) dice rng

Re: Random

2002-12-17 Thread Ketil Z. Malde
Mark Carroll [EMAIL PROTECTED] writes: The dice function gives you back the new state of the rng which maybe you should keep around to start the next set of rolls with. (main throws it away with snd.) I'd certainly be interested to see how this could be written more nicely. I avoided making

Re: Random

2002-12-17 Thread Mark Carroll
On 17 Dec 2002, Ketil Z. Malde wrote: (snip) dice :: Integer - StdGen - [Integer] dice n g = take n $ randomRs (1,6) g Can we still do this concisely and get the new state of the rng back out the other end after the die has been thrown a few times? Or are things like newStdGen

Re: Random

2002-12-17 Thread Ketil Z. Malde
Mark Carroll [EMAIL PROTECTED] writes: On 17 Dec 2002, Ketil Z. Malde wrote: (snip) dice :: Integer - StdGen - [Integer] dice n g = take n $ randomRs (1,6) g Can we still do this concisely and get the new state of the rng back out the other end after the die has been thrown

Re: Random

2002-12-17 Thread Mark Carroll
On 17 Dec 2002, Ketil Z. Malde wrote: Mark Carroll [EMAIL PROTECTED] writes: (snip) Can we still do this concisely and get the new state of the rng back out the other end after the die has been thrown a few times? Oops; I missed that part! No problem - it wasn't exactly clearly part of

FW: Random

2002-12-17 Thread Simon Peyton-Jones
I'm behind the times... Thanks Volker Simon -Original Message- From: Simon Marlow Sent: 17 December 2002 15:51 To: Simon Peyton-Jones Subject: RE: Random Volker Stolz already did this (and for a bunch of other H98 libraries), but I didn't merge it into the branch, sorry. Cheers,

(no subject)

2002-12-17 Thread Olga Lucia Quintero Fonseca
Por favor, estoy aprendiendo el lenguaje y no se como usar Complex aqui, el prompt siempre esta como Prelude y no se como incluir ese package module. Podrian ayudarme ? De antemano gracias !!!