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. Re: failed to install HTTP-4000.2.4 when executing `cabal
install cabal-install` (Daniel Fischer)
2. graphical output? (John M. Dlugosz)
3. Re: graphical output? (Brent Yorgey)
4. Re: graphical output? (John M. Dlugosz)
5. Re: graphical output? (Bill Noble)
6. Re: Platform for Mac OS 10.6 (Henry Lockyer)
7. Re: Platform for Mac OS 10.6 (Henry Lockyer)
----------------------------------------------------------------------
Message: 1
Date: Sat, 19 Apr 2014 22:30:35 +0200
From: Daniel Fischer <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] failed to install HTTP-4000.2.4 when
executing `cabal install cabal-install`
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
On Saturday 19 April 2014, 16:08:31, hengchu Zhang wrote:
> ?
> I am using Mac OS 10.8.4, and I installed haskell from homebrew. Does this
> mean something might have went wrong when I installed haskell?
No, it means that the HTTP package has no upper bound on its dependency on the
network package, and the type of Network.URI.relativeTo changed in
network-2.4.0.0 versus network-2.3.*
You can try either
cabal install --constraint="HTTP >= 4000.2.5" cabal-install
or
cabal install --constraint="network < 2.4" cabal-install
Either way, check with the --dry-run flag first whether cabal reports any
problems.
------------------------------
Message: 2
Date: Sat, 19 Apr 2014 22:25:28 -0500
From: "John M. Dlugosz" <[email protected]>
To: [email protected]
Subject: [Haskell-beginners] graphical output?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed
How might I (easily) use Haskell to draw simple 2D graphics?
Outputting a SVG file is OK for simple static results, but I want to animate.
(Windows platform is strongly preferred.)
------------------------------
Message: 3
Date: Sat, 19 Apr 2014 23:57:17 -0400
From: Brent Yorgey <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] graphical output?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
On Sat, Apr 19, 2014 at 10:25:28PM -0500, John M. Dlugosz wrote:
> How might I (easily) use Haskell to draw simple 2D graphics?
> Outputting a SVG file is OK for simple static results, but I want to animate.
> (Windows platform is strongly preferred.)
I suggest checking out 'gloss':
http://hackage.haskell.org/package/gloss
It's based on OpenGL, which comes with the Haskell Platform, and has a
simple interface for making animations.
-Brent
------------------------------
Message: 4
Date: Sun, 20 Apr 2014 00:19:11 -0500
From: "John M. Dlugosz" <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] graphical output?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 4/19/2014 10:57 PM, Brent Yorgey wrote:
> On Sat, Apr 19, 2014 at 10:25:28PM -0500, John M. Dlugosz wrote:
>> How might I (easily) use Haskell to draw simple 2D graphics?
>> Outputting a SVG file is OK for simple static results, but I want to animate.
>> (Windows platform is strongly preferred.)
>
> I suggest checking out 'gloss':
>
> http://hackage.haskell.org/package/gloss
>
> It's based on OpenGL, which comes with the Haskell Platform, and has a
> simple interface for making animations.
>
> -Brent
>
Hmm, is there any tutorial or friendly guide to Gloss?
------------------------------
Message: 5
Date: Sun, 20 Apr 2014 08:31:14 +0200
From: Bill Noble <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] graphical output?
Message-ID:
<CAHcuoKmhnu=Oxc7_d5z__CGb8nP2_QfwN_2ENK+u=5qbvqc...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
On Sun, Apr 20, 2014 at 7:19 AM, John M. Dlugosz
<[email protected]>wrote:
> On 4/19/2014 10:57 PM, Brent Yorgey wrote:
>
>> On Sat, Apr 19, 2014 at 10:25:28PM -0500, John M. Dlugosz wrote:
>>
>>> How might I (easily) use Haskell to draw simple 2D graphics?
>>> Outputting a SVG file is OK for simple static results, but I want to
>>> animate.
>>> (Windows platform is strongly preferred.)
>>>
>>
>> I suggest checking out 'gloss':
>>
>> http://hackage.haskell.org/package/gloss
>>
>> It's based on OpenGL, which comes with the Haskell Platform, and has a
>> simple interface for making animations.
>>
>> -Brent
>>
>>
> Hmm, is there any tutorial or friendly guide to Gloss?
>
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
Not exactly a guide, but you might get some mileage out of
> cabal install gloss-examples
(note for some reason I had to install llvm first).
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20140420/1cf58190/attachment-0001.html>
------------------------------
Message: 6
Date: Sun, 20 Apr 2014 11:24:26 +0100
From: Henry Lockyer <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Platform for Mac OS 10.6
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
Thanks Karl
I did try the download several times.
'Unknown' and 'Unknown-1' are 2 separate downloads.
$ openssl sha1 /Users/henrylockyer/Downloads/Unknown-1
SHA1(/Users/henrylockyer/Downloads/Unknown-1)=
89e6fb747816af69acabc5c04cee103257855614
$ openssl sha1 /Users/henrylockyer/Downloads/Unknown
SHA1(/Users/henrylockyer/Downloads/Unknown)=
89e6fb747816af69acabc5c04cee103257855614
Both have the same checkum as published on the download page...
SHA-1: 89e6fb747816af69acabc5c04cee103257855614
/Henry
On 19 Apr 2014, at 18:39, Karl Voelker wrote:
> On Sat, Apr 19, 2014, at 10:31 AM, Henry Lockyer wrote:
>> The macos link for download at
>> http://www.haskell.org/platform/mac.html
>> however does not seem to work. I do not get a working installer package just
>> an "Unknown" 204mb file.
>> ?
>
> It's possible that your download was corrupted or did not finish. If you have
> a way to calculate the sha1 sum, you can compare it to the one on that
> webpage. (For example, you could use sha1sum from the md5sha1sum Homebrew
> package.) Or, if your connection is reasonably fast, just try downloading it
> again.
>
> -Karl
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20140420/38ea10e9/attachment-0001.html>
------------------------------
Message: 7
Date: Sun, 20 Apr 2014 11:42:46 +0100
From: Henry Lockyer <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Platform for Mac OS 10.6
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
Mmm. clicking the download link does not work but ctrl-click and 'download
linked file...' to the desktop now seems to have worked and it is recognised as
a package...
Monkeys at typewriters/ H
On 20 Apr 2014, at 11:24, Henry Lockyer wrote:
> Thanks Karl
> I did try the download several times.
> 'Unknown' and 'Unknown-1' are 2 separate downloads.
> $ openssl sha1 /Users/henrylockyer/Downloads/Unknown-1
> SHA1(/Users/henrylockyer/Downloads/Unknown-1)=
> 89e6fb747816af69acabc5c04cee103257855614
> $ openssl sha1 /Users/henrylockyer/Downloads/Unknown
> SHA1(/Users/henrylockyer/Downloads/Unknown)=
> 89e6fb747816af69acabc5c04cee103257855614
> Both have the same checkum as published on the download page...
> SHA-1: 89e6fb747816af69acabc5c04cee103257855614
> /Henry
>
>
>
> On 19 Apr 2014, at 18:39, Karl Voelker wrote:
>
>> On Sat, Apr 19, 2014, at 10:31 AM, Henry Lockyer wrote:
>>> The macos link for download at
>>> http://www.haskell.org/platform/mac.html
>>> however does not seem to work. I do not get a working installer package
>>> just an "Unknown" 204mb file.
>>> ?
>>
>> It's possible that your download was corrupted or did not finish. If you
>> have a way to calculate the sha1 sum, you can compare it to the one on that
>> webpage. (For example, you could use sha1sum from the md5sha1sum Homebrew
>> package.) Or, if your connection is reasonably fast, just try downloading it
>> again.
>>
>> -Karl
>> _______________________________________________
>> Beginners mailing list
>> [email protected]
>> http://www.haskell.org/mailman/listinfo/beginners
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20140420/bcbf3c20/attachment.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 70, Issue 37
*****************************************