John Benediktsson
0fddbc2af1
formatting: revert change to %d, %o, %b, %x for now.
...
We should have a format character in the future to format using our Factor
binary, octal, and hex parser. Maybe using the "alternate form" format
character like Python does? And if we do that, maybe print the 0b, 0o, 0x
prefixes? TBD.
2017-06-10 13:33:01 -07:00
Jon Harper
762b22e1a8
formatting-docs, document ' ' as an alternative to '+' for positive numbers sign prefixing
2017-06-08 11:23:38 -07:00
Jon Harper
6061da92be
formatting, allow uppercase exponent for bin floats in base 2 and 8
2017-06-08 11:23:37 -07:00
Jon Harper
ccbb8116fc
formatting, make %d, %o, %b work for ratios and floats
2017-06-08 11:23:37 -07:00
Jon Harper
438e22fceb
formatting, fix %f and %e for ratios and integers
2017-06-08 11:23:37 -07:00
Alexander Iljin
2ffa446f5b
*-docs: replace double spaces with single spaces
...
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
Jon Harper
cac9b58f11
formatting, format numbers with C locale and document that it's english only
2016-03-08 07:55:25 -08:00
Jon Harper
6ee9fad443
formatting: fix docs for padding and use a better example
...
Make the padding number coherent between the example and the docs.
Also bump it from 3 to 10 because [[3.14 "%'#5f" printf]] is "3.140000"
because the default precision is 6.
2015-08-30 18:43:59 +02:00
John Benediktsson
a80540fdee
formatting: specify integer instead of fixnum as bignums are supported.
2014-09-04 09:35:15 -07:00
John Benediktsson
0287355e2a
formatting: adding octal and binary format directives.
2014-08-05 09:39:50 -07:00
Björn Lindqvist
a82dc84f2d
formatting: new format specifier for unparsed representation
2014-02-09 21:09:24 -08:00
John Benediktsson
55a230f368
formatting: use $snippet to make format strings stand out in docs.
2012-09-24 09:48:58 -07:00
Joe Groff
943596575a
use radix literals
2011-11-23 19:03:40 -08:00
Slava Pestov
2ace3c5956
formatting: remove platform-specific example
2010-04-15 16:14:29 -05:00
Slava Pestov
050d042449
formatting: fix docs
2010-02-23 21:21:16 +13:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
John Benediktsson
267e246766
Support "%s" for numbers, and add support for sequences and assocs formatting.
2009-01-30 14:17:12 -08:00
Doug Coleman
3c408342ef
renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail
2009-01-29 22:19:07 -06:00
Slava Pestov
298fdecf32
Fixing eval unit test, and help lint failures from stricter help lint
2009-01-27 15:38:01 -06:00
Slava Pestov
da38cd36dd
Move assoc-heaps, formatting, pack, roman, porter-stemmer, soundex, cords to basis
2008-12-17 20:18:24 -06:00