diff --git a/info.rkt b/info.rkt index bce839f..14da6b5 100644 --- a/info.rkt +++ b/info.rkt @@ -3,7 +3,7 @@ (define collection 'multi) -(define version 0.1) +(define version 0.2) (define deps diff --git a/lenses/list/list-ref-take-drop.scrbl b/lenses/list/list-ref-take-drop.scrbl index da9376d..316fd31 100644 --- a/lenses/list/list-ref-take-drop.scrbl +++ b/lenses/list/list-ref-take-drop.scrbl @@ -10,13 +10,13 @@ @title{List lenses} -@defproc[(list-lens [n exact-nonnegative-integer?]) +@defproc[(list-ref-lens [n exact-nonnegative-integer?]) lens?]{ Returns a lens for viewing the @racket[n]th item of a list, with indexing starting from zero. @lenses-examples[ - (lens-view (list-lens 3) '(a b c d e f g h)) - (lens-set (list-lens 1) '(a b c d e f g h) 'FOO) + (lens-view (list-ref-lens 3) '(a b c d e f g h)) + (lens-set (list-ref-lens 1) '(a b c d e f g h) 'FOO) ]} @deflenses[(first-lens @@ -30,7 +30,7 @@ ninth-lens tenth-lens)]{ Lenses for examiniming specific items of lists. Shorthands - for the common use cases of @racket[list-lens]. + for the common use cases of @racket[list-ref-lens]. @lenses-examples[ (lens-view third-lens '(a b c d)) (lens-view (lens-compose second-lens fourth-lens) diff --git a/lenses/list/main.rkt b/lenses/list/main.rkt index eb672b8..37bacce 100644 --- a/lenses/list/main.rkt +++ b/lenses/list/main.rkt @@ -9,5 +9,4 @@ "car-cdr.rkt" "list-ref-take-drop.rkt" "cadr-etc.rkt" - "assoc.rkt") - (rename-out [list-ref-lens list-lens])) + "assoc.rkt"))