commit 5073a224cca39ab94ff3c3f7f4a8d093869e8f52
Author: David Pollak <nom nom nom>
Date: Thu Dec 31 12:21:24 2009 -0800
Force closing of streams. More graceful restart of ActorPing
-Ross
On Jan 4, 2010, at 1:59 PM, Naftoli Gugenheim wrote:
> I don't have access to a browser right now. Do you mind telling me
> the date of that commit? Thanks.
>
> -------------------------------------
> Ross Mellgren<[email protected]> wrote:
>
> You're probably out of date. Here is the commit that introduced it:
>
> http://github.com/dpp/liftweb/commit/5073a224cca39ab94ff3c3f7f4a8d093869e8f52
>
> -Ross
>
> On Jan 4, 2010, at 1:43 PM, Naftoli Gugenheim wrote:
>
>> Maybe my repo is out of sync? Is it on master? When was it committed?
>> git grep Applier is not turning it up. Is that command incorrect?
>> Thanks.
>>
>> -------------------------------------
>> David Pollak<[email protected]> wrote:
>>
>> On Mon, Jan 4, 2010 at 10:07 AM, Naftoli Gugenheim <[email protected]
>>> wrote:
>>
>>> Ah, I misunderstood. Where is it defined?
>>>
>>
>> Helpers.scala
>>
>>
>>>
>>> -------------------------------------
>>> David Pollak<[email protected]> wrote:
>>>
>>> On Sat, Jan 2, 2010 at 9:34 PM, Naftoli Gugenheim <[email protected]
>>>> wrote:
>>>
>>>> I actually like StreamHandler better than StreamManager.
>>>> StreamManager
>>>> sounds like a something more complex.
>>>
>>>
>>> The implementation:
>>>
>>> trait Applier[T] {
>>> def apply[R](f: T => R): R
>>> }
>>>
>>>
>>> Has nothing to do with Streams. It's a close cousin of a Function.
>>>
>>>
>>>>
>>>>
>>>> On Sat, Jan 2, 2010 at 7:58 AM, greekscala <[email protected]>
>>> 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
>>>>> <[email protected]>
>>>>> 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 [email protected].
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected]<liftweb
>>>>> %[email protected]>
>>> <liftweb%[email protected]<liftweb
>>> %[email protected]>
>>>>
>>>>> .
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/liftweb?hl=en.
>>>>>
>>>>>
>>>>>
>>>> --
>>>> 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]<liftweb
>>>> %[email protected]>
>>> <liftweb%[email protected]<liftweb
>>> %[email protected]>
>>>>
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/liftweb?hl=en.
>>>>
>>>
>>>
>>>
>>> --
>>> Lift, the simply functional web framework http://liftweb.net
>>> Beginning Scala http://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 [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected]<liftweb
>>> %[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/liftweb?hl=en.
>>>
>>>
>>> --
>>>
>>> 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]<liftweb
>>> %[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/liftweb?hl=en.
>>>
>>>
>>>
>>
>>
>> --
>> Lift, the simply functional web framework http://liftweb.net
>> Beginning Scala http://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 [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
>> .
>>
>>
>> --
>>
>> 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
>> .
>>
>>
>
> --
>
> 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
> .
>
>
--
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.