Jochem Berndsen wrote:
> András Mocsáry wrote:
>> *My concern*
>> is about predictable failure of sw written in Haskell.
>> To illustrate it let's see a Haskell pattern matching example:
>
>> And in Haskell pattern matching:
>>
>> switch 1 = "Unchecked"
>>
>> switch 2 = "Checked"
>>
>> switch
> From: Felipe Lessa
>
> On Fri, Dec 18, 2009 at 02:13:02PM +, John Lato wrote:
>> So now the program needs a result of some type (String in your
>> example) and gets an undefined, and then immediately crashes
>> with an "Exception - undefined" error.
>
> I think this is the second time this i
On Fri, 2009-12-18 at 13:04 +0100, András Mocsáry wrote:
> Hello,
> I was advised respectfully to post my query here.
> Please, read the whole letter before you do anything, because I tried
> to construct the problem step by step.
> Also keep in mind, that the problem I query here is more general,
On Fri, Dec 18, 2009 at 02:13:02PM +, John Lato wrote:
> So now the program needs a result of some type (String in your
> example) and gets an undefined, and then immediately crashes
> with an "Exception - undefined" error.
I think this is the second time this is said in this thread, but
pleas
Hello,
> Date: Fri, 18 Dec 2009 13:04:47 +0100
> From: Andr?s Mocs?ry
>
>
> switch 1 = "Unchecked"
>
> switch 2 = "Checked"
>
> switch 3 = "Unknown"
>
> switch x = "Nothing"
>
> These general ways really avoid this particular crash, but does something
> real bad to the code in my opinion.
..