Lisp::Fmt 0.01
Sponsored Links
Lisp::Fmt 0.01 Ranking & Summary
File size:
0.013 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
975
Date added:
2007-02-22
Publisher:
Jeff Weisberg
Lisp::Fmt 0.01 description
Lisp::Fmt is a Perl module for Common Lisp like formatting.
SYNOPSIS
use Lisp::Fmt;
$str = fmt("~{~a ~5,,,*a~}", $a,$b,$c,$d); # store result in $str
pfmt("~{ ~a~5,,,*a~}", $a,$b,$c,$d); # print to stdout
The Common Lisp "format" function provides an extremely rich set of formatting directives. This module brings this to Perl.
The formatting directives all begin with a ~ and take the form: ~[N]{,N}[@][:]X
where N is a number, X is a formatting directive, and @ and : are optional modifiers. Recognized directives are: A, S, W, D, O, B, X, R, C, P, T, ~, %, |, _, ?, *, n, {, }, (, ), [, ], <, >, ^
examples:
C<~A> - simplest format spec, prints the arg
C<~D> - prints a number in base 10
C<~X> - prints a number in base 16
C<~12R> - prints a number in base 12
C<~@R> - prints a number in roman numerals
C<~#[ none~; ~a~; ~a and ~a~:;~!{~#[~; and~] ~a~^,~}~].">
- prints a list in nice readable english
SYNOPSIS
use Lisp::Fmt;
$str = fmt("~{~a ~5,,,*a~}", $a,$b,$c,$d); # store result in $str
pfmt("~{ ~a~5,,,*a~}", $a,$b,$c,$d); # print to stdout
The Common Lisp "format" function provides an extremely rich set of formatting directives. This module brings this to Perl.
The formatting directives all begin with a ~ and take the form: ~[N]{,N}[@][:]X
where N is a number, X is a formatting directive, and @ and : are optional modifiers. Recognized directives are: A, S, W, D, O, B, X, R, C, P, T, ~, %, |, _, ?, *, n, {, }, (, ), [, ], <, >, ^
examples:
C<~A> - simplest format spec, prints the arg
C<~D> - prints a number in base 10
C<~X> - prints a number in base 16
C<~12R> - prints a number in base 12
C<~@R> - prints a number in roman numerals
C<~#[ none~; ~a~; ~a and ~a~:;~!{~#[~; and~] ~a~^,~}~].">
- prints a list in nice readable english
Lisp::Fmt 0.01 Screenshot
Lisp::Fmt 0.01 Keywords
Fmt 0.01
common lisp
Perl module
c
formatting
Perl
prints
number
module
Lisp::Fmt
LispFmt
Lisp::Fmt 0.01
Libraries
Programming
Bookmark Lisp::Fmt 0.01
Lisp::Fmt 0.01 Copyright
WareSeeker periodically updates pricing and software information of Lisp::Fmt 0.01 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Lisp::Fmt 0.01 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
practical common lisp
common lisp tutorial
ansi common lisp
formatting a cd
perl modules
common lisp hyperspec
allegro common lisp
apa formatting
formatting software
common lisp document
common lisp windows
formatting hard drive
j common lisp
formatting a computer
mla formatting
install perl module
common lisp the language
gnu common lisp
Related Software
lisp-cgi-utils is a CGI library for Common Lisp. Free Download
B::Flags is a Perl module that provides a friendlier flags for B. Free Download
Text::VisualWidth is a Perl module that provides functions to treat half-width and full-width characters. Free Download
lisp-network-server is a simple framework for writing Common Lisp network applications. Free Download
Neveredit aims to provide end-user module editing facilities for Biowares Neverwinter Nights computer game. Free Download
Common Lisp Kanji Drill is a program for learning the meanings of Chinese/Japanese characters (kanji). Free Download
Scalar::Number is a Perl module with numeric aspects of scalars. Free Download
Leading::Zeros is a Perl module to defuse Perls octal number representation. Free Download
Latest Software
Popular Software
Favourite Software