[Haskell] Haskell Weekly News: April 27, 2007

2007-04-26 Thread Donald Bruce Stewart
--- Haskell Weekly News http://sequence.complete.org/hwn/20070427 Issue 61 - April 27, 2007 --- Welcome to issue 61 of HWN, a weekly newsletter coverin

[Haskell] REMINDER: HC&A Report (May 2007 edition)

2007-04-26 Thread Andres Loeh
Dear Haskellers, the deadline for the May 2007 edition of the Haskell Communities and Activities Report is only a few days away -- but this is still enough time to make sure that the report contains a section on *your* project, on the interesting stuff that you've been doing; using or affecting Ha

Re: [Haskell] Newbie: what are the advantages of Haskell?

2007-04-26 Thread Keith Fahlgren
On 4/26/07 10:13 AM, Joe Thornber wrote: > On 26/04/07, Johannes Waldmann <[EMAIL PROTECTED]> wrote: >> [EMAIL PROTECTED] wrote: >> >> > [...] semi-functional programming languages such as Perl [...] >> >> now this is an interesting view ... > > I seem to remember someone writing a book on functio

Re: [Haskell] GHC

2007-04-26 Thread Robert Daniel Emerson
Dear Helmut, I spoke with Novel a few months ago when I was having problems with the SUSE watcher and associated update capability with the 'old German version of Suse 10.0', they have corrected the problem, but in the long run the old 10.0 will not be officially supported. Their product names

Re: [Haskell] help -- need a random number

2007-04-26 Thread Marc A. Ziegert
that is exact the way, how i had learned about the state monads like IO and Maybe. that was even before i understood the [] monad, folding and using Random; i don't remember when that was... ghc-5.xx age. in my opinion, unsafePerformIO is a good learning tool, as soon as you use it tricky to an

RE: [Haskell] Newbie: what are the advantages of Haskell?

2007-04-26 Thread Taillefer, Troy (EXP)
Phiroc, Hi Welcome to the mailing list. Problem with partially functional languages in my opinion is if you can do things the way that your most use i.e. imperative programming you will do it Perl, Python, Lisp, Scheme and etc have features that support functional programming but I would wager t

Re: [Haskell] Newbie: what are the advantages of Haskell?

2007-04-26 Thread mike clemow
Phiroc, I'm new to these ideas too--especially since my college math training is non-existent. I found the following wikipedia articles particularly illuminating on the topic of side-effects: http://en.wikipedia.org/wiki/Side_effect_%28computer_science%29 and http://en.wikipedia.org/wiki/Refe

Re: [Haskell] Newbie: what are the advantages of Haskell?

2007-04-26 Thread Rob Hoelz
[EMAIL PROTECTED] wrote: > Hello, > > what are the advantages of haskell over semi-functional programming > languages such as Perl, Common Lisp, etc.? > > What are the mysterious "side effects" which are avoided by using > Haskell, which everyone talks about? Null pointers? > > Don't you ever g

[Haskell] Haskell Job Opportunity

2007-04-26 Thread S. Alexander Jacobson
HAppS LLC has part-time and full-time positions open for haskell programmers to: * improve the open source haskell codebase at HAppS.org * implement infrastructure to make it work well in Amazon S3/EC2 environments * make http://pass.net reliable enough to be used by live apps * build the ma

Re: [Haskell] help -- need a random number

2007-04-26 Thread Johannes Waldmann
import System.IO.Unsafe (unsafePerformIO,unsafeInterleaveIO) Whoa! I'd be very cautious recommending these for newbies ... ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

Re: [Haskell] help -- need a random number

2007-04-26 Thread Marc A. Ziegert
module Dice where import System.Random import System.IO.Unsafe (unsafePerformIO,unsafeInterleaveIO) import Data.List (unfoldr) dice4,dice6,dice8,dice10,dice12,dice20,dice666 :: [Int] dice4 = randomRs (1,4) (read "foo"::StdGen) dice6 = randomRs (1,6) (mkStdGen 5) dice8 = randomRs (1,8) (unsafePerf

Re: [Haskell] Newbie: what are the advantages of Haskell?

2007-04-26 Thread Sebastian Sylvan
(note to Haskellers: Yeah, I'm handwaving things here, no need to point out counter-examples to my generalisations!) On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: We'll do this one first: What are the mysterious "side effects" which are avoided by using Haskell, which everyone talks a

Re: [Haskell] Newbie: what are the advantages of Haskell?

2007-04-26 Thread Joe Thornber
On 26/04/07, Johannes Waldmann <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: > [...] semi-functional programming languages such as Perl [...] now this is an interesting view ... I seem to remember someone writing a book on functional programming in Perl, which seemed odd to me. - Joe _

Re: [Haskell] help -- need a random number

2007-04-26 Thread Johannes Waldmann
I need some random numbers. in the IO Monad, hiding the use of a generator do x <- randomRIO (0, 1 :: Double) ; print x you can also make the state explicit: do g0 <- getStdGen ; let { ( x, g1 ) = randomR ( 0, 1::Double) g0 } ; print x a RandomGen is actually the state object for the ge

Re: [Haskell] Newbie: what are the advantages of Haskell?

2007-04-26 Thread phiroc
If this is interesting then please enlighten a poor, ignorant PERL hacker. Quoting Johannes Waldmann <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: > > > [...] semi-functional programming languages such as Perl [...] > > now this is an interesting view ... > > __

[Haskell] help -- need a random number

2007-04-26 Thread robert bauer
Hi, I need some random numbers. The documentation identifies StdGen, but I can't figure out how to invoke it. The documentation is great in every way, except an actual example that I can essentially cut and paste. Thanks ___ Haskell mailing list Has

Re: [Haskell] Newbie: what are the advantages of Haskell?

2007-04-26 Thread Johannes Waldmann
[EMAIL PROTECTED] wrote: [...] semi-functional programming languages such as Perl [...] now this is an interesting view ... ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

[Haskell] Newbie: what are the advantages of Haskell?

2007-04-26 Thread phiroc
Hello, what are the advantages of haskell over semi-functional programming languages such as Perl, Common Lisp, etc.? What are the mysterious "side effects" which are avoided by using Haskell, which everyone talks about? Null pointers? Don't you ever get null pointers in Haskell, including when

[Haskell] ANNOUNCE: GHC version 6.6.1

2007-04-26 Thread Ian Lynagh
= The (Interactive) Glasgow Haskell Compiler -- version 6.6.1 = The GHC Team is pleased to announce a new patchlevel release of GHC. This release contains a significan