From f8d74ff99e67ed2649ea04660681542e898c6552 Mon Sep 17 00:00:00 2001 From: Magnar Sveen Date: Mon, 22 Oct 2012 18:32:40 +0200 Subject: [PATCH] Docs: update example text to match example code. --- README.md | 6 +++--- readme-template.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 00e6d5e..6a248be 100644 --- a/README.md +++ b/README.md @@ -50,9 +50,9 @@ prefixed with two dashs instead of one. ## Anaphoric functions -While `-filter` takes a function to filter the list by, you can also use the -anaphoric form with double dashes - which will then be executed with `it` exposed -as the list item. Here's an example: +While `-map` takes a function to map over the list, you can also use +the anaphoric form with double dashes - which will then be executed +with `it` exposed as the list item. Here's an example: ```cl (-map (lambda (n) (* n n)) '(1 2 3 4)) ;; normal version diff --git a/readme-template.md b/readme-template.md index c6aa12e..c3468b1 100644 --- a/readme-template.md +++ b/readme-template.md @@ -19,9 +19,9 @@ prefixed with two dashs instead of one. ## Anaphoric functions -While `-filter` takes a function to filter the list by, you can also use the -anaphoric form with double dashes - which will then be executed with `it` exposed -as the list item. Here's an example: +While `-map` takes a function to map over the list, you can also use +the anaphoric form with double dashes - which will then be executed +with `it` exposed as the list item. Here's an example: ```cl (-map (lambda (n) (* n n)) '(1 2 3 4)) ;; normal version