Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
with-contexts
with-contexts.common-lisp.dev
Commits
d1da2c34
Commit
d1da2c34
authored
Feb 24, 2021
by
Marco Antoniotti
💬
Browse files
Added doc files.
parent
d276d032
Changes
50
Hide whitespace changes
Inline
Side-by-side
html/dictionary/Class-CTXTS-CONDITION-IGNORING-CONTEXT.html
0 → 100644
View file @
d1da2c34
<html>
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>
Class
condition-ignoring-context
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"..\helambdap.css"
/>
</head>
<body>
<h1>
<i>
Class
</i>
<strong>
condition-ignoring-context
</strong>
</h1>
<h2>
Package:
</h2>
<p>
IT.UNIMIB.DISCO.MA.CL.EXT.DACF.WITH-CONTEXTS
</p>
<h2>
Class Precedence List:
</h2>
<p>
CONDITION-IGNORING-CONTEXT
→
CONTEXT ...
→
T
</p>
<div>
<h2>
Slots:
</h2>
<p>
<dl>
<dt>
CONDITIONS
</dt>
<dd>
Initarg:
CONDITIONS
</dd>
<dt>
CHECK-SUBTYPEP
</dt>
<dd>
Initarg:
SUBTYPEP
</dd>
</dl>
</p>
</div>
<h2>
Description:
</h2>
<p>
The Condition-ignoring Context Class.
</p>
<p>
Instances of this class are used to ignore/suppress errors within a
WITH context macro.
</p>
</body>
</html>
html/dictionary/Class-CTXTS-CONTEXT.html
0 → 100644
View file @
d1da2c34
<html>
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>
Class
context
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"..\helambdap.css"
/>
</head>
<body>
<h1>
<i>
Class
</i>
<strong>
context
</strong>
</h1>
<h2>
Package:
</h2>
<p>
IT.UNIMIB.DISCO.MA.CL.EXT.DACF.WITH-CONTEXTS
</p>
<h2>
Class Precedence List:
</h2>
<p>
CONTEXT
→
...
→
T
</p>
<h2>
Description:
</h2>
<p>
The Context Class.
</p>
<p>
A class that can be used in conjunction with the WITH macro.
This class is the top of the hierarchy of "context" classes. It
shuld not be directly instantiated.
</p>
</body>
</html>
html/dictionary/Class-CTXTS-DELEGATE-CONTEXT.html
0 → 100644
View file @
d1da2c34
<html>
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>
Class
delegate-context
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"..\helambdap.css"
/>
</head>
<body>
<h1>
<i>
Class
</i>
<strong>
delegate-context
</strong>
</h1>
<h2>
Package:
</h2>
<p>
IT.UNIMIB.DISCO.MA.CL.EXT.DACF.WITH-CONTEXTS
</p>
<h2>
Class Precedence List:
</h2>
<p>
DELEGATE-CONTEXT
→
CONTEXT ...
→
T
</p>
<div>
<h2>
Slots:
</h2>
<p>
<dl>
<dt>
ENTER-RESULT
</dt>
<dd>
Initarg:
ENTER-RESULT
</dd>
</dl>
</p>
</div>
<h2>
Description:
</h2>
<p>
The Delegate Context Class.
</p>
<p>
A context that just wraps a value to which it delegates its behavior.
</p>
<h2>
See Also:
</h2>
<p>
ENTER, HANDLE, EXIT, WITH, DELEGATE-CONTEXT (Function)
</p>
<h2>
Notes:
</h2>
<p>
This context it necessary in Common Lisp as the ENTER/HANDLE/EXIT
protocol can be implemented indipendently of 'being a context'.
</p>
</body>
</html>
html/dictionary/Class-CTXTS-EXIT-STACK-CONTEXT.html
0 → 100644
View file @
d1da2c34
<html>
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>
Class
exit-stack-context
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"..\helambdap.css"
/>
</head>
<body>
<h1>
<i>
Class
</i>
<strong>
exit-stack-context
</strong>
</h1>
<h2>
Package:
</h2>
<p>
IT.UNIMIB.DISCO.MA.CL.EXT.DACF.WITH-CONTEXTS
</p>
<h2>
Class Precedence List:
</h2>
<p>
EXIT-STACK-CONTEXT
→
CONTEXT ...
→
T
</p>
<div>
<h2>
Slots:
</h2>
<p>
<dl>
<dt>
CALLBACK-STACK
</dt>
<dd>
Type:
LIST
</dd>
</dl>
</p>
</div>
<h2>
Description:
</h2>
<p>
The Exit Stack Class.
</p>
<p>
A class that serves to collect and unwind code (callbacks) that are
collected within a WITH macro body. The methods of this class provide
more control over what happens with errors that may happen within
ENTER calls in non-straightforward contexts.
</p>
<h2>
Notes:
</h2>
<p>
This class provides much of the functionalities displayed in the Python
examples.
</p>
</body>
</html>
html/dictionary/Class-CTXTS-MANAGED-RESOURCE-CONTEXT.html
0 → 100644
View file @
d1da2c34
<html>
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>
Class
managed-resource-context
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"..\helambdap.css"
/>
</head>
<body>
<h1>
<i>
Class
</i>
<strong>
managed-resource-context
</strong>
</h1>
<h2>
Package:
</h2>
<p>
IT.UNIMIB.DISCO.MA.CL.EXT.DACF.WITH-CONTEXTS
</p>
<h2>
Class Precedence List:
</h2>
<p>
MANAGED-RESOURCE-CONTEXT
→
CONTEXT ...
→
T
</p>
<div>
<h2>
Slots:
</h2>
<p>
<dl>
<dt>
RESOURCE
</dt>
<dd>
Initarg:
RESOURCE
</dd>
</dl>
</p>
</div>
<h2>
Description:
</h2>
<p>
The Managed Resource Context Class.
</p>
<p>
A placeholder class showing how to render, more or less, the Python
examples in Common Lisp.
</p>
</body>
</html>
html/dictionary/Class-CTXTS-NULL-CONTEXT.html
0 → 100644
View file @
d1da2c34
<html>
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>
Class
null-context
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"..\helambdap.css"
/>
</head>
<body>
<h1>
<i>
Class
</i>
<strong>
null-context
</strong>
</h1>
<h2>
Package:
</h2>
<p>
IT.UNIMIB.DISCO.MA.CL.EXT.DACF.WITH-CONTEXTS
</p>
<h2>
Class Precedence List:
</h2>
<p>
NULL-CONTEXT
→
CONTEXT ...
→
T
</p>
<div>
<h2>
Slots:
</h2>
<p>
<dl>
<dt>
ENTER-RESULT
</dt>
<dd>
Initarg:
ENTER-RESULT
</dd>
</dl>
</p>
</div>
<h2>
Description:
</h2>
<p>
The Null Context Class.
</p>
<p>
A context that just wraps a value that it is then returned by ENTER.
</p>
<h2>
See Also:
</h2>
<p>
ENTER, HANDLE, EXIT, WITH, NULL-CONTEXT (Function)
</p>
</body>
</html>
html/dictionary/Class-CTXTS-REDIRECT-CONTEXT.html
0 → 100644
View file @
d1da2c34
<html>
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>
Class
redirect-context
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"..\helambdap.css"
/>
</head>
<body>
<h1>
<i>
Class
</i>
<strong>
redirect-context
</strong>
</h1>
<h2>
Package:
</h2>
<p>
IT.UNIMIB.DISCO.MA.CL.EXT.DACF.WITH-CONTEXTS
</p>
<h2>
Class Precedence List:
</h2>
<p>
REDIRECT-CONTEXT
→
CONTEXT ...
→
T
</p>
<div>
<h2>
Slots:
</h2>
<p>
<dl>
<dt>
STREAM
</dt>
<dd>
Type:
STREAM
</dd>
<dd>
Initarg:
STREAM
</dd>
<dt>
SAVED-STREAM
</dt>
<dd>
Type:
STREAM
</dd>
</dl>
</p>
</div>
<h2>
Description:
</h2>
<p>
The Redirect Context Class.
</p>
<p>
This is the context superclass for redirecting I/O. The library
creates instances of this class subclasses.
</p>
<h2>
See Also:
</h2>
<p>
REDIRECT-OUTPUT-CONTEXT, REDIRECT-INPUT-CONTEXT,
REDIRECT-STANDARD-OUTPUT-CONTEXT, REDIRECT-ERROR-OUTPUT-CONTEXT,
ENTER, HANDLE, EXIT, WITH
</p>
</body>
</html>
html/dictionary/Function-CTXTS-CONDITION-IGNORING-CONTEXT-P.html
0 → 100644
View file @
d1da2c34
<head>
<title>
WITH Contexts
:
FUNCTION
condition-ignoring-context-p
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"..\helambdap.css"
/>
</head>
<body>
<h1>
<i>
Function
</i>
<strong>
condition-ignoring-context-p
</strong>
</h1>
<h2>
Package:
</h2>
<p>
IT.UNIMIB.DISCO.MA.CL.EXT.DACF.WITH-CONTEXTS
</p>
<h2>
Syntax:
</h2>
<div>
<p>
<pre>
<strong
style=
"color: red"
>
condition-ignoring-context-p
</strong>
<i>
X
</i>
→
<i>
result
</i></pre>
</p>
</div>
<h3>
Arguments and Values:
</h3>
<ul
style=
"list-style-type: none"
>
<li
style=
"list-style-type: none"
>
<i>
<code>
X
</code>
</i>
:
a
T
</li>
<li
style=
"list-style-type: none"
>
<i>
<code>
result
</code>
</i>
: a T.
</li>
</ul>
<h2>
Description:
</h2>
<p>
Returns T if X is a CONDITION-IGNORING-CONTEXT, NIL otherwise.
</p>
</body>
\ No newline at end of file
html/dictionary/Function-CTXTS-CONTEXT-P.html
0 → 100644
View file @
d1da2c34
<head>
<title>
WITH Contexts
:
FUNCTION
context-p
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"..\helambdap.css"
/>
</head>
<body>
<h1>
<i>
Function
</i>
<strong>
context-p
</strong>
</h1>
<h2>
Package:
</h2>
<p>
IT.UNIMIB.DISCO.MA.CL.EXT.DACF.WITH-CONTEXTS
</p>
<h2>
Syntax:
</h2>
<div>
<p>
<pre>
<strong
style=
"color: red"
>
context-p
</strong>
<i>
X
</i>
→
<i>
result
</i></pre>
</p>
</div>
<h3>
Arguments and Values:
</h3>
<ul
style=
"list-style-type: none"
>
<li
style=
"list-style-type: none"
>
<i>
<code>
X