Cleaner alternative for nested case/cond/if statements?

Have you tried the with macro?