Re: [Pharo-users] Maybe Monad

2018-01-26 Thread Ben Coman
On 27 January 2018 at 08:33, horrido wrote: > Is there a Pharo equivalent to Ruby's Maybe monad? See > https://github.com/rap1ds/ruby-possibly >From that page I read... "Maybe monad is a programming pattern that allows to treat nil values that same way as non-nil values" At a minimum you can

[Pharo-users] Maybe Monad

2018-01-26 Thread horrido
Is there a Pharo equivalent to Ruby's Maybe monad? See https://github.com/rap1ds/ruby-possibly -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] looking for another iterator :)

2018-01-26 Thread Sean P. DeNigris
Evan Donahue wrote > It is also worth mentioning that there is now also the Cons library > available > through the Pharo6 catalog browser… just creates an iterator and never > actually creates the whole list…The code is stable and in use in several > of my projects. Very interesting! Thanks :)

[Pharo-users] GSoC 2018: Old Topics Must Be Removed

2018-01-26 Thread Oleksandr Zaytsev
Hello! I have noticed that some of the projects in Pharo GSOC 2018 Ideas List are copied from last year's list. I've asked people who have been assigned as mentors to these projects and they told me that they will not be mentoring them this year. I have created a pull req

Re: [Pharo-users] Lengthy operations block UI

2018-01-26 Thread Andrei Stebakov
Basically the test confirms that the long lasting scraping operation returns the expected result . As you suggested let me take a look at Zn On Jan 26, 2018 10:31, "Sven Van Caekenberghe" wrote: > > > > On 26 Jan 2018, at 16:16, Andrei Stebakov wrote: > > > > How do you handle forked operations

Re: [Pharo-users] Lengthy operations block UI

2018-01-26 Thread Sven Van Caekenberghe
> On 26 Jan 2018, at 16:16, Andrei Stebakov wrote: > > How do you handle forked operations from TestCase point of view, when the > test expects a value to assert from an asynchronous operation? tests typically run sequential & synchronous, it is hard to work with them otherwise (to debug the

Re: [Pharo-users] Lengthy operations block UI

2018-01-26 Thread Andrei Stebakov
How do you handle forked operations from TestCase point of view, when the test expects a value to assert from an asynchronous operation? On Jan 25, 2018 10:41, "Andrei Stebakov" wrote: > Thanks, Sven, got it > > On Jan 25, 2018 10:36, "Sven Van Caekenberghe" wrote: > >> Hi Andrei, >> >> > On 25

Re: [Pharo-users] looking for another iterator :)

2018-01-26 Thread Steffen Märcker
Hi! No stress is good news! - what is the API in terms of vocabulary (ie drop the same as reject) These are the operations implemented so far. |= means "satisfies", i.e., evaluate to true. Drop drop first n elements DropWhile drop first elements |= a block Filter* pick