diff --git a/lens/private/list/assoc.scrbl b/lens/private/list/assoc.scrbl index 873e485..40a4369 100644 --- a/lens/private/list/assoc.scrbl +++ b/lens/private/list/assoc.scrbl @@ -7,7 +7,7 @@ @defproc[(assoc-lens [key any/c] [#:is-equal? key-equal? (-> any/c any/c any/c) equal?]) lens?]{ - Constructs a lens for examiniming association lists. + Constructs a lens for examining association lists. Specifically, for a given association list the returned lens examines the second value of the first pair that has a key that is @racket[key-equal?] to @racket[key]. diff --git a/lens/private/list/list-ref-take-drop.scrbl b/lens/private/list/list-ref-take-drop.scrbl index 2031148..0968779 100644 --- a/lens/private/list/list-ref-take-drop.scrbl +++ b/lens/private/list/list-ref-take-drop.scrbl @@ -25,7 +25,7 @@ eighth-lens ninth-lens tenth-lens)]{ - Lenses for examiniming specific items of lists. Shorthands + Lenses for examining specific items of lists. Shorthands for the common use cases of @racket[list-ref-lens]. @lens-examples[ (lens-view third-lens '(a b c d)) diff --git a/lens/private/scribblings/guide/built-in/ordered.scrbl b/lens/private/scribblings/guide/built-in/ordered.scrbl index fb34dd4..ba93cfd 100644 --- a/lens/private/scribblings/guide/built-in/ordered.scrbl +++ b/lens/private/scribblings/guide/built-in/ordered.scrbl @@ -50,8 +50,8 @@ create a lens that performs indexed lookups for nested lists using only @racket[ This can also be generalized to @emph{n}-dimensional lists: @(lens-interaction - (define (list-ref-lens* . indicies) - (apply lens-compose (map list-ref-lens indicies))) + (define (list-ref-lens* . indices) + (apply lens-compose (map list-ref-lens indices))) (lens-set (list-ref-lens* 0 1 0) '(((a b) (c d)) ((e f) (g h)))