Merge pull request #197 from jackfirth/add-stability-notice-and-ref
Add stability notice and ref
This commit is contained in:
commit
658da10829
|
@ -1,4 +1,4 @@
|
|||
# lens [](https://travis-ci.org/jackfirth/lens) [](https://coveralls.io/r/jackfirth/lens) [](https://waffle.io/jackfirth/lens) [-blue.svg)](http://pkg-build.racket-lang.org/doc/lens/index.html) [-blue.svg)](http://pkg-build.racket-lang.org/doc/unstable-lens/index.html) 
|
||||
# lens  [](https://travis-ci.org/jackfirth/lens) [](https://coveralls.io/r/jackfirth/lens) [](https://waffle.io/jackfirth/lens) [](http://pkg-build.racket-lang.org/doc/lens/index.html)
|
||||
|
||||
A Racket package for creating and composing pure functional lenses.
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#lang scribble/manual
|
||||
|
||||
@(require "private/doc-util/main.rkt")
|
||||
|
||||
@title[#:style '(toc)]{Lenses}
|
||||
|
||||
@defmodule[lens]
|
||||
|
@ -14,8 +16,11 @@ representation of getters and setters in object-oriented languages.
|
|||
|
||||
source code: @url["https://github.com/jackfirth/lens"]
|
||||
|
||||
@stability-notice[unstable/lens]
|
||||
|
||||
@local-table-of-contents[]
|
||||
|
||||
@secref{unstable/lens}
|
||||
@include-section["private/base/main.scrbl"]
|
||||
@include-section["private/compound/main.scrbl"]
|
||||
@include-section["private/list/main.scrbl"]
|
||||
|
|
|
@ -3,6 +3,7 @@ syntax/parse/define
|
|||
"deflenses.rkt"
|
||||
"include-sections.rkt"
|
||||
"lenses-examples.rkt"
|
||||
"stability-notice.rkt"
|
||||
for-label
|
||||
lens
|
||||
unstable/lens
|
||||
|
|
10
lens/private/doc-util/stability-notice.rkt
Normal file
10
lens/private/doc-util/stability-notice.rkt
Normal file
|
@ -0,0 +1,10 @@
|
|||
#lang sweet-exp racket/base
|
||||
|
||||
provide stability-notice
|
||||
|
||||
require scribble/manual
|
||||
|
||||
|
||||
(define-syntax-rule (stability-notice id)
|
||||
(list "This library is stable, backwards compatibility will be maintained. For experimental features see "
|
||||
(racketmodname id) "."))
|
Loading…
Reference in New Issue
Block a user