From 6e65f5b49e7483bb7c74f70985022927aee61bdf Mon Sep 17 00:00:00 2001 From: Grzegorz Adam Hankiewicz Date: Sun, 6 Jan 2013 13:31:19 +0100 Subject: Hyperlinks each proc and explains it is like map. --- lib/pure/collections/sequtils.nim | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/pure/collections') 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 +## `_ module in both mutable and immutable styles. ## ## **Note**: This interface will change as soon as the compiler supports ## closures and proper coroutines. -- cgit 1.4.1-2-gfad0