in reply to Re: pattern matching
in thread pattern matching

Thanks,looks like this works but it's very contrived, surely there must be an easier way to do it all in on go?