diff options
author | Aaron Dalton <aaron@FreeBSD.org> | 2006-06-01 07:25:40 +0000 |
---|---|---|
committer | Aaron Dalton <aaron@FreeBSD.org> | 2006-06-01 07:25:40 +0000 |
commit | d478ddb277513e74bca31195d04e7d13f624d609 (patch) | |
tree | eb9cc5fc9356787a0e3782705b32329f34c5fa1b /lang/p5-Quantum-Superpositions/pkg-descr | |
parent | d554909b425805b026a5ba71aac78096f81d7197 (diff) |
Notes
Diffstat (limited to 'lang/p5-Quantum-Superpositions/pkg-descr')
-rw-r--r-- | lang/p5-Quantum-Superpositions/pkg-descr | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/p5-Quantum-Superpositions/pkg-descr b/lang/p5-Quantum-Superpositions/pkg-descr new file mode 100644 index 000000000000..53d432e7403d --- /dev/null +++ b/lang/p5-Quantum-Superpositions/pkg-descr @@ -0,0 +1,23 @@ +The Quantum::Superpositions module adds two new operators to Perl: any and +all. + +Each of these operators takes a list of values (states) and superimposes +them into a single scalar value (a superposition), which can then be +stored in a standard scalar variable. + +The any and all operators produce two distinct kinds of superposition. The +any operator produces a disjunctive superposition, which may (notionally) +be in any one of its states at any time, according to the needs of the +algorithm that uses it. + +In contrast, the all operator creates a conjunctive superposition, which +is always in every one of its states simultaneously. + +Superpositions are scalar values and hence can participate in arithmetic +and logical operations just like any other type of scalar. However, when +an operation is applied to a superposition, it is applied (notionally) in +parallel to each of the states in that superposition. + +WWW: http://search.cpan.org/dist/Quantum-Superpositions +Authors: Damian Conway <damian@conway.org> + Steven Lembark <lembark@wrkhors.com> |