Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.haskell.org/cgi-bin/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: Alfred Programs in Haskell (Thomas Bach)
2. Re: LTS is good but... (Michael Snoyman)
3. Re: Alfred Programs in Haskell (Richard Guay)
4. Re: LTS is good but... (emacstheviking)
5. Re: LTS is good but... (Michael Snoyman)
----------------------------------------------------------------------
Message: 1
Date: Wed, 4 Mar 2015 15:43:12 +0100
From: Thomas Bach <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Alfred Programs in Haskell
Message-ID: <[email protected]>
Content-Type: text/plain
Richard Guay <[email protected]> writes:
> It's not a file permission problem because it works great when the
> file exists. But, when the file doesn't exist, it still tries to read
> the file.
Is this also the case with the version provided by Kim-Ee Yeoh?
> It acts like the file is there when it isn't. In ghci, it returns the
> true boolean when the file is there and a false when it isn't. But, in
> the program, it is always executing the readFile.
This is most unlikely a problem of ghc, i.e. I think there is some
problem in your programs logic. Can you provide further code possibly
restricting it to a minimal breaking example?
Also: have you tried running the function in question in ghci?
Regards
Thomas.
------------------------------
Message: 2
Date: Wed, 04 Mar 2015 15:31:02 +0000
From: Michael Snoyman <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] LTS is good but...
Message-ID:
<CAKA2JgKG3RkNvrCBO4NC14d5LRV5FUcLYnEH=b-8qdqvyla...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
On Wed, Mar 4, 2015 at 4:32 PM Brandon Allbery <[email protected]> wrote:
> On Wed, Mar 4, 2015 at 4:25 AM, emacstheviking <[email protected]> wrote:
>
>> What is the *preferred* way to get the lastest for OSX: Using homebrew,
>> macports or the Haskell Platform. I *used* to use the platform installer
>> but for some reason (cabal I expect!) I started trying out other ways...
>
>
> Depends on who you ask. I use MacPorts and keep it updated, but
> please-root-me (aka Homebrew) is preferred by most people these days. You
> will find people arguing that you should use the Platform and people who
> insist you should always install just ghc and cabal, or people who insist
> you shouldn't ever look beyond Stackage (great if Stackage bothers to
> acknowledge that the library you need exists).
>
>
>
Just to clarify, because there seems to be some confusion in your comments
on Stackage. When someone sets up a project to use Stackage[1], you still
have full access to all packages on Hackage, there just isn't any way to be
certain the packages will compile reliably (which is the case with
installing from Hackage as well). And getting a package into Stackage is a
simple, open procedure[2] which anyone is allowed to participate in.
In other words: Stackage acknowledges the existence of every package on
Hackage, and can provide build guarantees for any package that is added to
its build-constraints file.
[1] Minimal procedure: run `wget http://www.stackage.org/lts/cabal.config`
[2] https://github.com/fpco/stackage#get-your-package-included
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20150304/359c60c5/attachment-0001.html>
------------------------------
Message: 3
Date: Wed, 04 Mar 2015 22:36:01 +0700
From: Richard Guay <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Alfred Programs in Haskell
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Hi,
Sorry. I found my mistake. I figured my newness in the language was
showing, so I asked for help. But, to my surprise, I have been modifying
the function for the cache file and testing the data file. :Palm Plant:.
Sorry for wasting your time. It is working.
Richard
Thomas Bach wrote:
>
> Richard Guay<[email protected]> writes:
>
>>
>> It's not a file permission problem because it works great when the
>> file exists. But, when the file doesn't exist, it still tries to read
>> the file.
>
>
> Is this also the case with the version provided by Kim-Ee Yeoh?
>
>>
>> It acts like the file is there when it isn't. In ghci, it returns the
>> true boolean when the file is there and a false when it isn't. But, in
>> the program, it is always executing the readFile.
>
>
> This is most unlikely a problem of ghc, i.e. I think there is some
> problem in your programs logic. Can you provide further code possibly
> restricting it to a minimal breaking example?
>
> Also: have you tried running the function in question in ghci?
>
> Regards
>
> Thomas.
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20150304/db312357/attachment-0001.html>
------------------------------
Message: 4
Date: Wed, 4 Mar 2015 16:09:59 +0000
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] LTS is good but...
Message-ID:
<caeieuukowvejnfnzwr6ubdjj7x1ajo-joltzd_buw8a4a_p...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
OK, having installed it, am I now at liberty to use the LTS instructions to
once again attempt to start an OpenGL project?
On 4 March 2015 at 15:31, Michael Snoyman <[email protected]> wrote:
>
>
> On Wed, Mar 4, 2015 at 4:32 PM Brandon Allbery <[email protected]>
> wrote:
>
>> On Wed, Mar 4, 2015 at 4:25 AM, emacstheviking <[email protected]> wrote:
>>
>>> What is the *preferred* way to get the lastest for OSX: Using homebrew,
>>> macports or the Haskell Platform. I *used* to use the platform installer
>>> but for some reason (cabal I expect!) I started trying out other ways...
>>
>>
>> Depends on who you ask. I use MacPorts and keep it updated, but
>> please-root-me (aka Homebrew) is preferred by most people these days. You
>> will find people arguing that you should use the Platform and people who
>> insist you should always install just ghc and cabal, or people who insist
>> you shouldn't ever look beyond Stackage (great if Stackage bothers to
>> acknowledge that the library you need exists).
>>
>>
>>
> Just to clarify, because there seems to be some confusion in your comments
> on Stackage. When someone sets up a project to use Stackage[1], you still
> have full access to all packages on Hackage, there just isn't any way to be
> certain the packages will compile reliably (which is the case with
> installing from Hackage as well). And getting a package into Stackage is a
> simple, open procedure[2] which anyone is allowed to participate in.
>
> In other words: Stackage acknowledges the existence of every package on
> Hackage, and can provide build guarantees for any package that is added to
> its build-constraints file.
>
> [1] Minimal procedure: run `wget http://www.stackage.org/lts/cabal.config`
> <http://www.stackage.org/lts/cabal.config>
> [2] https://github.com/fpco/stackage#get-your-package-included
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20150304/648b72b0/attachment-0001.html>
------------------------------
Message: 5
Date: Wed, 04 Mar 2015 16:16:29 +0000
From: Michael Snoyman <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] LTS is good but...
Message-ID:
<caka2jgl00oj2hpdczudh-fom39n768mf1c9exjduyfbi8_8...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Yes.
On Wed, Mar 4, 2015, 6:10 PM emacstheviking <[email protected]> wrote:
> OK, having installed it, am I now at liberty to use the LTS instructions
> to once again attempt to start an OpenGL project?
>
>
>
> On 4 March 2015 at 15:31, Michael Snoyman <[email protected]> wrote:
>
>>
>>
>> On Wed, Mar 4, 2015 at 4:32 PM Brandon Allbery <[email protected]>
>> wrote:
>>
>>> On Wed, Mar 4, 2015 at 4:25 AM, emacstheviking <[email protected]>
>>> wrote:
>>>
>>>> What is the *preferred* way to get the lastest for OSX: Using homebrew,
>>>> macports or the Haskell Platform. I *used* to use the platform installer
>>>> but for some reason (cabal I expect!) I started trying out other ways...
>>>
>>>
>>> Depends on who you ask. I use MacPorts and keep it updated, but
>>> please-root-me (aka Homebrew) is preferred by most people these days. You
>>> will find people arguing that you should use the Platform and people who
>>> insist you should always install just ghc and cabal, or people who insist
>>> you shouldn't ever look beyond Stackage (great if Stackage bothers to
>>> acknowledge that the library you need exists).
>>>
>>>
>>>
>> Just to clarify, because there seems to be some confusion in your
>> comments on Stackage. When someone sets up a project to use Stackage[1],
>> you still have full access to all packages on Hackage, there just isn't any
>> way to be certain the packages will compile reliably (which is the case
>> with installing from Hackage as well). And getting a package into Stackage
>> is a simple, open procedure[2] which anyone is allowed to participate in.
>>
>> In other words: Stackage acknowledges the existence of every package on
>> Hackage, and can provide build guarantees for any package that is added to
>> its build-constraints file.
>>
>> [1] Minimal procedure: run `wget
>> http://www.stackage.org/lts/cabal.config`
>> <http://www.stackage.org/lts/cabal.config>
>> [2] https://github.com/fpco/stackage#get-your-package-included
>>
>> _______________________________________________
>> Beginners mailing list
>> [email protected]
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>
>> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20150304/b16c445a/attachment.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 81, Issue 23
*****************************************