aboutsummaryrefslogtreecommitdiffhomepage
path: root/applause.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2015-05-03 18:58:53 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2015-05-03 18:58:53 +0200
commit09186cecc4c90f9a938e82fc88cd19d56a390220 (patch)
tree2e479b4d7e078644e6e9946f70a96fa874983e7d /applause.c
parent9a7bbca6a9d1aaf81ede68b86a09bd4b9312b2c0 (diff)
downloadapplause2-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