5.3 Fetch
| (require punct/fetch) | package: punct-lib |
procedure
src : path-string?
Returns the doc binding from src. No caching is used; this function is
basically a thin wrapper around dynamic-require. If src does not exist, you will
get a friendly error message. If any other kind of problem arises, you will get an ugly error.
procedure
doc : document? key : symbol?
default : failure-result/c = (lambda () (raise (make-exn:fail ....)))
Returns the value of key in the document-metas of doc.
The value of default is used if the key does not exist: if it is a value, that value will be
returned instead; if it is a thunk, the thunk will be called.
Changed in version 1.1 of package punct-lib: Removed get-doc-ref and replaced with get-meta