This is the simple-currency Reference Manual, version 0.0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 06:42:16 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
simple-currency
SIMPLE-CURRENCY provides conversions between
currencies using data published daily by the European Central
Bank, no guarantees about the accuracy of the data are given or
even implied. For details of the ECB FX rates see:
http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html
Peter Wood, email: pete_wood at runbox.com
BSD, 2 clause.
0.0.1
dexador
(system).
plump
(system).
simple-date
(system).
split-sequence
(system).
cl-store
(system).
package.lisp
(file).
simple-currency.lisp
(file).
currency-info.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
simple-currency/simple-currency.asd
simple-currency/package.lisp
simple-currency/simple-currency.lisp
simple-currency/currency-info.lisp
simple-currency/simple-currency.asd
simple-currency
(system).
simple-currency/simple-currency.lisp
package.lisp
(file).
simple-currency
(system).
*stored-currency-hash*
(special variable).
2dd-round
(function).
available-currencies
(function).
ccydb-date
(function).
convert
(generic function).
display-currency
(function).
get-quote
(generic function).
interval-since-update
(function).
update-currency-hash
(function).
with-currency
(macro).
*currencies*
(special variable).
getbase
(function).
make-date
(function).
normalize-currency-designator
(function).
parse-rational
(function).
simple-currency/currency-info.lisp
simple-currency.lisp
(file).
simple-currency
(system).
ccy-acode
(reader method).
ccy-country
(reader method).
ccy-ddigits
(reader method).
ccy-name
(reader method).
ccy-ncode
(reader method).
currency-data
(generic function).
currency-data
(class).
lookup-currency
(generic function).
*currency-data*
(special variable).
Packages are listed by definition order.
simple-currency
cies
common-lisp
.
*stored-currency-hash*
(special variable).
2dd-round
(function).
available-currencies
(function).
ccy-acode
(generic reader).
ccy-country
(generic reader).
ccy-ddigits
(generic reader).
ccy-name
(generic reader).
ccy-ncode
(generic reader).
ccydb-date
(function).
convert
(generic function).
currency-data
(generic function).
currency-data
(class).
display-currency
(function).
get-quote
(generic function).
interval-since-update
(function).
lookup-currency
(generic function).
update-currency-hash
(function).
with-currency
(macro).
*currencies*
(special variable).
*currency-data*
(special variable).
getbase
(function).
make-date
(function).
normalize-currency-designator
(function).
parse-rational
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Returns the updated hash table stored in global variable *CURRENCIES* if the update is believed to be successful, or restores the old stored hash table if the call to ECB failed and returns the old table, or NIL if both options failed for any reason.
currency-data
)) ¶automatically generated reader method
currency-data
)) ¶automatically generated reader method
currency-data
)) ¶automatically generated reader method
currency-data
)) ¶automatically generated reader method
name
.
currency-data
)) ¶automatically generated reader method
Converts AMOUNT between currencies FROM and TO,
which should be keywords designating 3 letter currency codes. Returns
2 values: a rational number representing the converted amount in TO
currency, and a SIMPLE-DATE:INTERVAL representing the interval since
the currency hash was last updated. For a list of available currency
codes call (AVAILABLE-CURRENCIES).
Return 3 values: 1) The conversion as a rational,
2) the rate for converting from FROM to TO as a rational, and 3) a
SIMPLE-DATE:INTERVAL representing the interval since the currency
hash was last updated.
:country
This slot is read-only.
(quote string)
:acode
This slot is read-only.
(quote string)
:ncode
This slot is read-only.
(quote string)
:ddigits
This slot is read-only.
Jump to: | 2
A C D F G I L M N P U W |
---|
Jump to: | 2
A C D F G I L M N P U W |
---|
Jump to: | *
A C D N S |
---|
Jump to: | *
A C D N S |
---|
Jump to: | C F P S |
---|
Jump to: | C F P S |
---|