Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Using QuickCheck to verify that an expression can always be
evaluated (Amy de Buitl?ir)
2. Re: Using QuickCheck to verify that an expression can always
be evaluated (Daniel Fischer)
3. Re: Using QuickCheck to verify that an expression can always
be evaluated (Amy de Buitl?ir)
4. homepage for the Gtk2Hs project? (MAN)
5. Re: homepage for the Gtk2Hs project? (aditya siram)
6. Re: homepage for the Gtk2Hs project? (MAN)
7. Re: homepage for the Gtk2Hs project? (aditya siram)
8. Re: homepage for the Gtk2Hs project? (MAN)
9. Re: homepage for the Gtk2Hs project? (aditya siram)
10. Re: homepage for the Gtk2Hs project? (Daniel Fischer)
----------------------------------------------------------------------
Message: 1
Date: Fri, 15 Apr 2011 14:36:33 +0100
From: Amy de Buitl?ir <[email protected]>
Subject: [Haskell-beginners] Using QuickCheck to verify that an
expression can always be evaluated
To: beginners <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
Occasionally I write a QuickCheck test where I want to evaluate
something just to make sure it doesn't crash, but I don't care about
the actual value. For example, in the test below, I just want to make
sure that the expression "foldl' apply newWorkbench gs" doesn't crash.
I don't really care whether or not "devotion w /= -1", that's just an
expression (which is always true) that I wrote to force evaluation of
w. But I assume there's a better way to do this?
prop_all_gene_sequences_are_legal :: [Gene] -> Property
prop_all_gene_sequences_are_legal gs =
property $ devotion w /= -1
where w = foldl' apply newWorkbench gs
Thank you in advance for any suggestions.
------------------------------
Message: 2
Date: Fri, 15 Apr 2011 15:46:00 +0200
From: Daniel Fischer <[email protected]>
Subject: Re: [Haskell-beginners] Using QuickCheck to verify that an
expression can always be evaluated
To: [email protected]
Message-ID: <[email protected]>
Content-Type: Text/Plain; charset="iso-8859-1"
On Friday 15 April 2011 15:36:33, Amy de Buitl?ir wrote:
> Occasionally I write a QuickCheck test where I want to evaluate
> something just to make sure it doesn't crash, but I don't care about
> the actual value. For example, in the test below, I just want to make
> sure that the expression "foldl' apply newWorkbench gs" doesn't crash.
> I don't really care whether or not "devotion w /= -1", that's just an
> expression (which is always true) that I wrote to force evaluation of
> w. But I assume there's a better way to do this?
>
> prop_all_gene_sequences_are_legal :: [Gene] -> Property
> prop_all_gene_sequences_are_legal gs =
property $ w `seq` True
(replace seq with a stronger evaluation forcer if necessary)
> property $ devotion w /= -1
> where w = foldl' apply newWorkbench gs
>
> Thank you in advance for any suggestions.
>
------------------------------
Message: 3
Date: Fri, 15 Apr 2011 14:58:22 +0100
From: Amy de Buitl?ir <[email protected]>
Subject: Re: [Haskell-beginners] Using QuickCheck to verify that an
expression can always be evaluated
To: Daniel Fischer <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
> ? property $ w `seq` True
>
> (replace seq with a stronger evaluation forcer if necessary)
Thank you, that's exactly what I was looking for.
------------------------------
Message: 4
Date: Fri, 15 Apr 2011 17:00:12 -0300
From: MAN <[email protected]>
Subject: [Haskell-beginners] homepage for the Gtk2Hs project?
To: [email protected]
Message-ID: <1302897612.2433.0.camel@dy-book>
Content-Type: text/plain; charset="UTF-8"
Is there a new location for the homepage of gtk2hs? haskell.org/gtk2hs
displays a 404 error, and mighty google hasn't been able to find any
other.
------------------------------
Message: 5
Date: Fri, 15 Apr 2011 15:02:27 -0500
From: aditya siram <[email protected]>
Subject: Re: [Haskell-beginners] homepage for the Gtk2Hs project?
To: MAN <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
This site's been down since haskell.org was migrated to new hardware a
few months ago.
-deech
On Fri, Apr 15, 2011 at 3:00 PM, MAN <[email protected]> wrote:
> Is there a new location for the homepage of gtk2hs? haskell.org/gtk2hs
> displays a 404 error, and mighty google hasn't been able to find any
> other.
>
>
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
------------------------------
Message: 6
Date: Fri, 15 Apr 2011 17:46:54 -0300
From: MAN <[email protected]>
Subject: Re: [Haskell-beginners] homepage for the Gtk2Hs project?
To: aditya siram <[email protected]>
Cc: [email protected]
Message-ID: <1302900414.2433.1.camel@dy-book>
Content-Type: text/plain; charset="UTF-8"
Oh... do you know if it's ever coming back? I kind of... miss it.
El vie, 15-04-2011 a las 15:02 -0500, aditya siram escribi?:
> This site's been down since haskell.org was migrated to new hardware a
> few months ago.
> -deech
>
> On Fri, Apr 15, 2011 at 3:00 PM, MAN <[email protected]> wrote:
> > Is there a new location for the homepage of gtk2hs? haskell.org/gtk2hs
> > displays a 404 error, and mighty google hasn't been able to find any
> > other.
> >
> >
> >
> > _______________________________________________
> > Beginners mailing list
> > [email protected]
> > http://www.haskell.org/mailman/listinfo/beginners
> >
------------------------------
Message: 7
Date: Fri, 15 Apr 2011 15:58:56 -0500
From: aditya siram <[email protected]>
Subject: Re: [Haskell-beginners] homepage for the Gtk2Hs project?
To: MAN <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
Dunno. I asked about it couple of times on IRC and gave up. A project
that visible needs a homepage - might be a cool project.
-deech
On Fri, Apr 15, 2011 at 3:46 PM, MAN <[email protected]> wrote:
> Oh... do you know if it's ever coming back? I kind of... miss it.
>
> El vie, 15-04-2011 a las 15:02 -0500, aditya siram escribi?:
>> This site's been down since haskell.org was migrated to new hardware a
>> few months ago.
>> -deech
>>
>> On Fri, Apr 15, 2011 at 3:00 PM, MAN <[email protected]> wrote:
>> > Is there a new location for the homepage of gtk2hs? haskell.org/gtk2hs
>> > displays a 404 error, and mighty google hasn't been able to find any
>> > other.
>> >
>> >
>> >
>> > _______________________________________________
>> > Beginners mailing list
>> > [email protected]
>> > http://www.haskell.org/mailman/listinfo/beginners
>> >
>
>
>
------------------------------
Message: 8
Date: Fri, 15 Apr 2011 18:11:49 -0300
From: MAN <[email protected]>
Subject: Re: [Haskell-beginners] homepage for the Gtk2Hs project?
To: aditya siram <[email protected]>
Cc: [email protected]
Message-ID: <1302901909.2433.5.camel@dy-book>
Content-Type: text/plain; charset="UTF-8"
Thanks, deech.
Btw, since you've been asking around, do you know if they've given up
trying to make 'cabal install gtk2hs' work? (my 'cabal list gtk2hs' only
shows the 'generics, casts and buildtools).
El vie, 15-04-2011 a las 15:58 -0500, aditya siram escribi?:
> Dunno. I asked about it couple of times on IRC and gave up. A project
> that visible needs a homepage - might be a cool project.
> -deech
>
> On Fri, Apr 15, 2011 at 3:46 PM, MAN <[email protected]> wrote:
> > Oh... do you know if it's ever coming back? I kind of... miss it.
> >
> > El vie, 15-04-2011 a las 15:02 -0500, aditya siram escribi?:
> >> This site's been down since haskell.org was migrated to new hardware a
> >> few months ago.
> >> -deech
> >>
> >> On Fri, Apr 15, 2011 at 3:00 PM, MAN <[email protected]> wrote:
> >> > Is there a new location for the homepage of gtk2hs? haskell.org/gtk2hs
> >> > displays a 404 error, and mighty google hasn't been able to find any
> >> > other.
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > Beginners mailing list
> >> > [email protected]
> >> > http://www.haskell.org/mailman/listinfo/beginners
> >> >
> >
> >
> >
------------------------------
Message: 9
Date: Fri, 15 Apr 2011 16:16:37 -0500
From: aditya siram <[email protected]>
Subject: Re: [Haskell-beginners] homepage for the Gtk2Hs project?
To: MAN <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
'cabal install gtk' & 'cabal install glade' work fine on Linux. It's a
little trickier on Windows but not too bad. It's as easy to install as
its ever been.
-deech
On Fri, Apr 15, 2011 at 4:11 PM, MAN <[email protected]> wrote:
> Thanks, deech.
> Btw, since you've been asking around, do you know if they've given up
> trying to make 'cabal install gtk2hs' work? (my 'cabal list gtk2hs' only
> shows the 'generics, casts and buildtools).
>
> El vie, 15-04-2011 a las 15:58 -0500, aditya siram escribi?:
>> Dunno. I asked about it couple of times on IRC and gave up. A project
>> that visible needs a homepage - might be a cool project.
>> -deech
>>
>> On Fri, Apr 15, 2011 at 3:46 PM, MAN <[email protected]> wrote:
>> > Oh... do you know if it's ever coming back? I kind of... miss it.
>> >
>> > El vie, 15-04-2011 a las 15:02 -0500, aditya siram escribi?:
>> >> This site's been down since haskell.org was migrated to new hardware a
>> >> few months ago.
>> >> -deech
>> >>
>> >> On Fri, Apr 15, 2011 at 3:00 PM, MAN <[email protected]> wrote:
>> >> > Is there a new location for the homepage of gtk2hs? haskell.org/gtk2hs
>> >> > displays a 404 error, and mighty google hasn't been able to find any
>> >> > other.
>> >> >
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > Beginners mailing list
>> >> > [email protected]
>> >> > http://www.haskell.org/mailman/listinfo/beginners
>> >> >
>> >
>> >
>> >
>
>
>
------------------------------
Message: 10
Date: Fri, 15 Apr 2011 23:17:38 +0200
From: Daniel Fischer <[email protected]>
Subject: Re: [Haskell-beginners] homepage for the Gtk2Hs project?
To: [email protected]
Message-ID: <[email protected]>
Content-Type: Text/Plain; charset="utf-8"
On Friday 15 April 2011 23:11:49, MAN wrote:
> Thanks, deech.
> Btw, since you've been asking around, do you know if they've given up
> trying to make 'cabal install gtk2hs' work? (my 'cabal list gtk2hs' only
> shows the 'generics, casts and buildtools).
It's been split into a number of smaller packages, gtksourceview, cairo,
pango, whatnot.
It should be cabal install'able
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 34, Issue 27
*****************************************