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: Is working with Haskell easier on Linux than on a Mac?
(Ryan Trinkle)
2. Re: Is working with Haskell easier on Linux than on a Mac?
(Jeffrey Brown)
3. Re: latest Haskell Platform build fails (emacstheviking)
4. Re: Is working with Haskell easier on Linux than on a Mac?
(Michael Martin)
----------------------------------------------------------------------
Message: 1
Date: Sun, 19 Oct 2014 16:22:29 -0400
From: Ryan Trinkle <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Is working with Haskell easier on
Linux than on a Mac?
Message-ID:
<CAHNEpiz0TYhVqM6=rAdn5vs=5wnw7nouvakxe_mzsvgvg9r...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi Jeffrey,
Haskell is what convinced me to switch to Linux (from Windows). Since
then, I've occasionally worked with Haskell on OS X, and I've found it to
have more snags than working with Haskell on Linux. Workarounds are
usually forthcoming though, since a substantial fraction of Haskell users
do use OS X. Generally, there seems to be a bit more friction using
Haskell with OS X than with Linux, but it can definitely be overcome. Of
course, Linux tends to have a bit more friction in dealing with the
hardware, especially Apple hardware.
Ryan
On Sun, Oct 19, 2014 at 4:13 PM, Jeffrey Brown <[email protected]>
wrote:
> I have read that Haskell is easier to work with on Linux than on Windows.
> Is Haskell on Linux also easier than Haskell on OS X?
>
> I'm trying to do realtime OSC output from Haskell, because concurrency in
> Python is hard. Brandon Allbery on the haskell-cafe list, told me "chrt"
> and "sched_setscheduler" would be helpful. At the shell prompt I found that
> my system (OS X 10.9) does not recognize "chrt". I found a library on
> Hackage, "posix-realtime", that claims Mac compatibility and has a
> "sched_setscheduler" function, but my attempts to install it fail:
>
> sh-3.2# cabal install posix-realtime
> Resolving dependencies...
> Downloading unix-2.3.2.0...
> Configuring unix-2.3.2.0...
> Building unix-2.3.2.0...
> Failed to install unix-2.3.2.0
> Last 10 lines of the build log ( /var/root/.cabal/logs/unix-2.3.2.0.log ):
> Building unix-2.3.2.0...
> Preprocessing library unix-2.3.2.0...
> dist/build/System/Posix/Signals.hs:124:10:
> fatal error: 'Signals.h' file not found
> #include "Signals.h"
> ^
> 1 error generated.
>
> Even if I found a solution to this particular problem, I'm worried I'll
> keep running into similar ones, because I'm sure I'll keep trying new
> packages. Would this kind of work be substantially easier if I were using,
> say, Linux Mint?
>
> _______________________________________________
> 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/20141019/42de2edc/attachment-0001.html>
------------------------------
Message: 2
Date: Sun, 19 Oct 2014 13:51:03 -0700
From: Jeffrey Brown <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Is working with Haskell easier on
Linux than on a Mac?
Message-ID:
<caec4ma23zrdqaqnqrajmt_atgsw4ym4nhm+q6_2r5zvgyjw...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Thanks, Ryan!
On Sun, Oct 19, 2014 at 1:22 PM, Ryan Trinkle <[email protected]>
wrote:
> Hi Jeffrey,
>
> Haskell is what convinced me to switch to Linux (from Windows). Since
> then, I've occasionally worked with Haskell on OS X, and I've found it to
> have more snags than working with Haskell on Linux. Workarounds are
> usually forthcoming though, since a substantial fraction of Haskell users
> do use OS X. Generally, there seems to be a bit more friction using
> Haskell with OS X than with Linux, but it can definitely be overcome. Of
> course, Linux tends to have a bit more friction in dealing with the
> hardware, especially Apple hardware.
>
>
> Ryan
>
> On Sun, Oct 19, 2014 at 4:13 PM, Jeffrey Brown <[email protected]>
> wrote:
>
>> I have read that Haskell is easier to work with on Linux than on Windows.
>> Is Haskell on Linux also easier than Haskell on OS X?
>>
>> I'm trying to do realtime OSC output from Haskell, because concurrency in
>> Python is hard. Brandon Allbery on the haskell-cafe list, told me "chrt"
>> and "sched_setscheduler" would be helpful. At the shell prompt I found that
>> my system (OS X 10.9) does not recognize "chrt". I found a library on
>> Hackage, "posix-realtime", that claims Mac compatibility and has a
>> "sched_setscheduler" function, but my attempts to install it fail:
>>
>> sh-3.2# cabal install posix-realtime
>> Resolving dependencies...
>> Downloading unix-2.3.2.0...
>> Configuring unix-2.3.2.0...
>> Building unix-2.3.2.0...
>> Failed to install unix-2.3.2.0
>> Last 10 lines of the build log ( /var/root/.cabal/logs/unix-2.3.2.0.log ):
>> Building unix-2.3.2.0...
>> Preprocessing library unix-2.3.2.0...
>> dist/build/System/Posix/Signals.hs:124:10:
>> fatal error: 'Signals.h' file not found
>> #include "Signals.h"
>> ^
>> 1 error generated.
>>
>> Even if I found a solution to this particular problem, I'm worried I'll
>> keep running into similar ones, because I'm sure I'll keep trying new
>> packages. Would this kind of work be substantially easier if I were using,
>> say, Linux Mint?
>>
>> _______________________________________________
>> 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/20141019/eeafc65e/attachment-0001.html>
------------------------------
Message: 3
Date: Sun, 19 Oct 2014 22:00:00 +0100
From: emacstheviking <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] latest Haskell Platform build fails
Message-ID:
<caeieuukrny5bjqwzhmnggcpln775znpeqeg2yqfautqm4ve...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I guess it shouldn't but since they (the sandboxes) became more "common
place" I have yet to find a reason to try them.
>From what I see on blogs and lists though I don't think it does really cure
the problems per se. IIUIC the most common cause of troubles is when
dependencies between packages cause issues and that can happen even in a
sandbox.
Perhaps I will try again sometime soon but I am knee deep in Prolog these
days, and PHP :(
On 19 October 2014 14:45, Adam Mesha <[email protected]> wrote:
> 2014-10-18 22:09 GMT+03:00 emacstheviking <[email protected]>:
>
>> Lurker speaks: I too came to the same conclusion as Michael a long time
>> back; I absolutely love Haskell but sooner or later it seemed to me that
>> the "dependancy hell" would kick in just when you least needed / expected
>> it to. It is the single biggest put off for me now to consider using it.
>>
>
> Does this dependency hell problem still exist when you use cabal sandboxes?
>
> --
> Adam Mesha <[email protected]>
> Life is either a daring adventure, or nothing. - Helen Keller
>
> _______________________________________________
> 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/20141019/eadab5a9/attachment-0001.html>
------------------------------
Message: 4
Date: Sun, 19 Oct 2014 19:25:38 -0500
From: Michael Martin <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Is working with Haskell easier on
Linux than on a Mac?
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"
As a Linux bigot myself, I'd say go with Linux. However, if you are more
comfortable with OS X, I'm
gonna guess that installing X Code (or whatever the compiler package is
called these days) ought
to make this one particular problem (header file not found) go away.
On 10/19/2014 03:51 PM, Jeffrey Brown wrote:
> Thanks, Ryan!
>
> On Sun, Oct 19, 2014 at 1:22 PM, Ryan Trinkle <[email protected]
> <mailto:[email protected]>> wrote:
>
> Hi Jeffrey,
>
> Haskell is what convinced me to switch to Linux (from Windows).
> Since then, I've occasionally worked with Haskell on OS X, and
> I've found it to have more snags than working with Haskell on
> Linux. Workarounds are usually forthcoming though, since a
> substantial fraction of Haskell users do use OS X. Generally,
> there seems to be a bit more friction using Haskell with OS X than
> with Linux, but it can definitely be overcome. Of course, Linux
> tends to have a bit more friction in dealing with the hardware,
> especially Apple hardware.
>
>
> Ryan
>
> On Sun, Oct 19, 2014 at 4:13 PM, Jeffrey Brown
> <[email protected] <mailto:[email protected]>> wrote:
>
> I have read that Haskell is easier to work with on Linux than
> on Windows. Is Haskell on Linux also easier than Haskell on OS X?
>
> I'm trying to do realtime OSC output from Haskell, because
> concurrency in Python is hard. Brandon Allbery on the
> haskell-cafe list, told me "chrt" and "sched_setscheduler"
> would be helpful. At the shell prompt I found that my system
> (OS X 10.9) does not recognize "chrt". I found a library on
> Hackage, "posix-realtime", that claims Mac compatibility and
> has a "sched_setscheduler" function, but my attempts to
> install it fail:
>
> sh-3.2# cabal install posix-realtime
> Resolving dependencies...
> Downloading unix-2.3.2.0...
> Configuring unix-2.3.2.0...
> Building unix-2.3.2.0...
> Failed to install unix-2.3.2.0
> Last 10 lines of the build log (
> /var/root/.cabal/logs/unix-2.3.2.0.log ):
> Building unix-2.3.2.0...
> Preprocessing library unix-2.3.2.0...
> dist/build/System/Posix/Signals.hs:124:10:
> fatal error: 'Signals.h' file not found
> #include "Signals.h"
> ^
> 1 error generated.
>
> Even if I found a solution to this particular problem, I'm
> worried I'll keep running into similar ones, because I'm sure
> I'll keep trying new packages. Would this kind of work be
> substantially easier if I were using, say, Linux Mint?
>
> _______________________________________________
> Beginners mailing list
> [email protected] <mailto:[email protected]>
> http://www.haskell.org/mailman/listinfo/beginners
>
>
>
> _______________________________________________
> Beginners mailing list
> [email protected] <mailto:[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/20141019/7311b269/attachment.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 76, Issue 16
*****************************************