]> gitweb.factorcode.org Git - factor.git/blob - basis/present/present-docs.factor
calendar.format: make duration>human-readable more human readable
[factor.git] / basis / present / present-docs.factor
1 IN: present
2 USING: help.markup help.syntax kernel strings ;
3
4 ARTICLE: "present" "Converting objects to human-readable strings"
5 "A word for converting an object into a human-readable string:"
6 { $subsections present } ;
7
8 HELP: present
9 { $values { "object" object } { "string" string } }
10 { $contract "Outputs a human-readable string from an object." }
11 { $notes "New methods can be defined by user code. Most often, this is done so that the object can be used with various words in the " { $vocab-link "html.components" } " or " { $vocab-link "urls" } " vocabularies." } ;
12
13 ABOUT: "present"