Ahhhh - thats some scala Voodoo - never seen the Either construct before! Thanks Jorge
On Dec 6, 6:39 pm, "Jorge Ortiz" <[EMAIL PROTECTED]> wrote: > Try: > > case "badger" :: Nil => Left(() => demo) > > An Either[A, B] means it can be either a Left[A] or a Right[B]. > > --j --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
