diff options
author | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2013-01-06 13:31:19 +0100 |
---|---|---|
committer | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2013-01-09 20:32:57 +0100 |
commit | 6e65f5b49e7483bb7c74f70985022927aee61bdf (patch) | |
tree | c2dc6f980c36ef767132f8a0aacfa8df23ce5066 /lib | |
parent | 3b52a0a9f51f854cc6b65c4eea04b61fb334b1b5 (diff) | |
download | Nim-6e65f5b49e7483bb7c74f70985022927aee61bdf.tar.gz |
Hyperlinks each proc and explains it is like map.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/collections/sequtils.nim | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/pure/collections/sequtils.nim b/lib/pure/collections/sequtils.nim index 0fda5700e..f4feedac7 100644 --- a/lib/pure/collections/sequtils.nim +++ b/lib/pure/collections/sequtils.nim @@ -9,8 +9,11 @@ ## :Author: Alex Mitchell ## -## This module implements operations for the built-in `seq`:idx: type -## which were inspired by functional programming languages. +## This module implements operations for the built-in `seq`:idx: type which +## were inspired by functional programming languages. If you are looking for +## the typical `map` function which applies a function to every element in a +## sequence, it already exists as the `each` proc in the `system +## <system.html>`_ module in both mutable and immutable styles. ## ## **Note**: This interface will change as soon as the compiler supports ## closures and proper coroutines. |