Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.haskell > #223
| Newsgroups | comp.lang.haskell |
|---|---|
| Subject | cascading if conditions |
| From | blufox <blufox@gmail.com> |
| Message-ID | <op.wfzcfp2bazwite@akasham> (permalink) |
| Organization | TeraNews.com |
| Date | 2012-06-15 22:05 -0700 |
Hello,
I have a set of if conditions of this form,
case fna of
Just x -> x
Nothing -> case fnb of
Just y -> y
Nothing -> case fnc of
Just z -> z
Nothing -> defaltval
Is there a standard way to capture this pattern?
Regards,
blufox
Back to comp.lang.haskell | Previous | Next — Next in thread | Find similar | Unroll thread
cascading if conditions blufox <blufox@gmail.com> - 2012-06-15 22:05 -0700
Re: cascading if conditions Paul Rubin <no.email@nospam.invalid> - 2012-06-15 23:23 -0700
Re: cascading if conditions blufox <blufox@gmail.com> - 2012-06-15 23:31 -0700
Re: cascading if conditions usenet@mkarcher.dialup.fu-berlin.de (Michael Karcher) - 2012-06-16 17:23 +0000
Re: cascading if conditions Paul Rubin <no.email@nospam.invalid> - 2012-06-16 10:32 -0700
Re: cascading if conditions Paul Rubin <no.email@nospam.invalid> - 2012-06-16 11:43 -0700
Re: cascading if conditions blufox <blufox@gmail.com> - 2012-06-16 22:27 -0700
Re: cascading if conditions chb hemma <chb@home.se> - 2012-06-24 23:36 +0200
csiph-web