Skip to content

Commit

Permalink
Revert "lists: Add list literal doc example."
Browse files Browse the repository at this point in the history
This reverts commit 4740852.
  • Loading branch information
erg committed Jul 30, 2018
1 parent 6810fc4 commit 7999e72
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions basis/lists/lists-docs.factor
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ ARTICLE: "lists-protocol" "The list protocol"
ARTICLE: "lists-strict" "Constructing strict lists"
"Strict lists are simply cons cells where the car and cdr have already been evaluated. These are the lists of Lisp. To construct a strict list, the following words are provided:"
{ $subsections
\ L{
cons
swons
sequence>list
Expand Down Expand Up @@ -63,15 +62,6 @@ ARTICLE: "lists-manipulation" "Manipulating lists"
lcut
} ;

HELP: L{
{ $syntax "L{ val1 val2... }" }
{ $values { "val1" object } { "val2" object } }
{ $example
"USING: lists prettyprint ; L{ 1 2 3 } ."
"L{ 1 2 3 }"
}
{ $description "Constructs a list literal from a sequence." } ;

HELP: cons
{ $values { "car" "the head of the list cell" } { "cdr" "the tail of the list cell" } { "cons-state" list } }
{ $description "Constructs a cons cell." } ;
Expand Down

0 comments on commit 7999e72

Please sign in to comment.