diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-05-03 18:58:53 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-05-03 18:58:53 +0200 |
commit | 09186cecc4c90f9a938e82fc88cd19d56a390220 (patch) | |
tree | 2e479b4d7e078644e6e9946f70a96fa874983e7d /applause.c | |
parent | 9a7bbca6a9d1aaf81ede68b86a09bd4b9312b2c0 (diff) | |
download | applause2-09186cecc4c90f9a938e82fc88cd19d56a390220.tar.gz |
changed semantics of the __call metamethod: create VectorStream
* the call metamethod is most useful in compositions in order to
evaluate a stream to save computing power at runtime.
* this meant that in addition to adding () to a stream expression it
was necessary to convert the table to a stream (e.g. using tostream()).
* Now the totable() method converts to a pure table, while __call
returns a VectorStream. This means it will be sufficient to add "()"
in order to evaluate a stream eagerly
Diffstat (limited to 'applause.c')
0 files changed, 0 insertions, 0 deletions