[Factor-talk] Disposition

2016-06-21 Thread Alexander Ilin
Hello! I'm trying to get a grip on the destructors vocab. Looking at the bottom of the "\ dispose help" page I see things like: M: filter-writer dispose stream>> dispose ; or M: decoder dispose stream>> dispose ; Shouldn't ALL the objects inheriting from disposable override the di

Re: [Factor-talk] Disposition

2016-06-21 Thread John Benediktsson
If you notice the implementation of ``M\ object dispose``: ``` M: object dispose [ t >>disposed dispose* ] unless-disposed ; ``` That hints at a ``disposed`` slot. Well, really that should be a method on ``disposable`` but there is one place where we take advantage of the "requirement" for a slo

Re: [Factor-talk] Disposition

2016-06-21 Thread Alexander Ilin
Hello, John! I see. So those objects implementing a custom dispose are not inherited from disposable.Thank you! 22.06.2016, 02:58, "John Benediktsson" :If you notice the implementation of ``M\ object dispose``: ```M: object dispose [ t >>disposed dispose* ] unless-disposed ;``` That hints at a ``di