Name : perl-IO-Lambda
| |
Version : 1.33
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.3
| Date : 2024-08-05 19:09:02
|
Group : Unspecified
| Source RPM : perl-IO-Lambda-1.33-1.3.src.rpm
|
Size : 0.31 MB
| |
Packager : (none)
| |
Summary : non-blocking I/O as lambda calculus
|
Description :
This module is another attempt to fight the horrors of non-blocking I/O. It tries to bring back the simplicity of the declarative programming style, that is only available when one employs threads, coroutines, or co-processes. Usually coding non-blocking I/O for single process, single thread programs requires construction of state machines, often fairly complex, which fact doesn\'t help the code clarity, and is the reason why the asynchronous I/O programming is often considered \'messy\'. Similar to the concept of monads in functional languages, that enforce a certain order of execution over generally orderless functions, \'IO::Lambda\' allows writing I/O callbacks in a style that resembles the good old sequential, declarative programming.
The manual begins with code examples, then proceeds to explaining basic assumptions, then finally gets to the complex concepts, where the real fun begins. You can skip directly there (Stream IO, Higher-order functions), where the functional style mixes with I/O. If, on the contrary, you are intimidated by the module\'s ambitions, you can skip to Simple use for a more gentle introduction. Those, who are interested how the module is different from the other I/O frameworks, please continue reading.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-I/openSUSE_Tumbleweed/noarch |