From bcad07fc5f07ae5697f018248ff76c6013a009c5 Mon Sep 17 00:00:00 2001 From: rxi Date: Sat, 13 Dec 2014 01:00:47 +0000 Subject: [PATCH] Added explanation of calling lume() to the README --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 8fcd79b..eb37ac5 100644 --- a/README.md +++ b/README.md @@ -350,6 +350,11 @@ lume.chain({1, 2, 3, 4}) :map(function(x) return -x end) :result() -- Returns { -2, -4 } ``` +The table returned by the `lume` module, when called, acts in the same manner +as calling `lume.chain()`. +```lua +lume({1, 2, 3}):each(print) -- Prints 1, 2 then 3 on separate lines +``` ## License