Cro: libraries and tools for building reactive services in Perl 6 | cro.services/ | Logs: irclog.perlgeek.de/cro/
Set by moderator on 14 December 2017.
03:02 ilbot3 joined
moderator Cro: libraries and tools for building reactive services in Perl 6 | cro.services/ | Logs: irclog.perlgeek.de/cro/
07:28 sena_kun joined 11:33 sena_kun joined 11:54 araraloren joined
araraloren jnthn, I have some question about Supply, do you have time ? 11:55
I read a pdf about Python Coroutines : www.dabeaz.com/coroutines/Coroutines.pdf 11:59
The example is in page 22, I want rewrite it in Perl6 12:00
That's my code pastebin.com/ww1xE9mX, It's not work. And I wonder is there any resolution can solve this problem ? 12:01
s/resolution/solution/
Thanks :) 12:02
lizmat araraloren: I think the problem is that the iterator that IO::Handle.lines runs on, will end the iterator as soon as the end of the file is reached 12:43
araraloren I know the problem, lizmat do you have any other advice :) 12:47
lizmat overriding IO::Handle.get so that it won't return undef when exhausted, but instead block until there *is* something to return ? 12:48
araraloren lizmat, get return Nil 12:54
lizmat which makes the iterator decide it's the end
araraloren I seek to the file end in the follow
lizmat gist.github.com/lizmat/431807927c7...cf50395dd8 # perhaps a solution ? 13:15
araraloren ok, I will check later 13:16
:) lizmat Hmm, that's a good idea 13:40
Geth cro/web-links: 2cc1260416 | Altai-man++ | 3 files
Handle graph updating
13:44
cro/web-links: 2f87411b8c | Altai-man++ | resources/web/js/app.js
Update generated code
cro/web-links: 99c4121406 | Altai-man++ | 5 files
Improve button state transitions
15:07
cro/master: 13 commits pushed by Altai-man++
review: github.com/croservices/cro/compare...649c206bca
15:13
cro: 16a68434f7 | Altai-man++ (committed using GitHub Web editor) | docs/reference/cro-http-router.md
Fix typo
16:16
b2gills .ask araraloren Why did you re-implement `grep` for a Supply when there already is one? 18:57
22:27 agwind joined 23:07 Geth joined 23:10 Geth joined 23:13 Geth joined