[Haskell-beginners] Alfred Programs in Haskell
Richard Guay
raguay at customct.com
Wed Mar 4 15:36:01 UTC 2015
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<raguay at customct.com> 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
> Beginners at haskell.org
> 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.html>
More information about the Beginners
mailing list