On Fri, Jul 17, 2009 at 3:27 PM, glenn <gl...@exmbly.com> wrote: > > I would like to know how to create a selectObj over a range of > integers. Do I have to use > > val numList = List(0->"0", 1->"2", 2->"3" ...) > > def numbers = selectObj(numLists, Full(0), someFunc)?
selectObj[Int](numLists, Full(0), someFunc) The type inferencer doesn't get this one right... so you have to give it a hint. > > > It seems a load to have to create a list of pairs. And what does the > third param to selectObj look like in > this instance? > > Please tell me there is shortcut. > > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---