Re: Re[2]: [Haskell-cafe] Is there a null statement that does nothing?

2009-10-27 Thread Svein Ove Aas
On Tue, Oct 27, 2009 at 7:07 PM, Bulat Ziganshin wrote: > Hello Kim-Ee, > > Tuesday, October 27, 2009, 8:08:27 PM, you wrote: > >> Just for completeness' sake, bottom is a value for any expression. >> Wouldn't making the else clause optional by defaulting to "undefined" >> worthy of consideration

Re[2]: [Haskell-cafe] Is there a null statement that does nothing?

2009-10-27 Thread Bulat Ziganshin
Hello Kim-Ee, Tuesday, October 27, 2009, 8:08:27 PM, you wrote: > Just for completeness' sake, bottom is a value for any expression. > Wouldn't making the else clause optional by defaulting to "undefined" > worthy of consideration for Evil Haskell? in this case you will get an exception when co

Re[2]: [Haskell-cafe] Is there a null statement that does nothing?

2009-10-22 Thread Bulat Ziganshin
Hello michael, Thursday, October 22, 2009, 4:59:43 AM, you wrote: "return ()" does the trick if another branch also returns () > Thanks guys, > I understand what you're telling me, but have some nested IFs and > just want to fall through on one of the ELSES but then I end up with > two ELSES in