Yeah - I too dont like the name "Applier". StreamManager[T] sounds cool to me.
Cheers, Tim On Jan 2, 12:58 pm, greekscala <hellectro...@gmail.com> wrote: > Hello, > > I think applier is to general. applier for...? As Naftoli said, a name > like StreamManager > or StreamHandler is clearer for a newbie like me. > > best regards > > On 31 Dez. 2009, 21:48, David Pollak <feeder.of.the.be...@gmail.com> > wrote: > > > > > Folks, > > > I've changed LiftRules.getResourceAsStream and LiftRules.finder to return > > Box[Applier[InputStream]] rather than Box[InputStream]. > > > Applier has a single method, apply[T] which takes an InputStream => T and > > insures the InputStream is closed. > > > This change is unlikely to impact much code out there, but does make sure > > that InputStreams are closed. > > > If any of the folks out there that name things better than I do (at least I > > didn't call it Apply_A_Tron), please feel free to suggest name changes, > > variance changes, etc. > > > Thanks, > > > David > > > -- > > Lift, the simply functional web frameworkhttp://liftweb.net > > Beginning Scalahttp://www.apress.com/book/view/1430219890 > > Follow me:http://twitter.com/dpp > > Surf the harmonics -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@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.