beowulf/docs/codox/beowulf.cons-cell.html

3 lines
5.7 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>beowulf.cons-cell documentation</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Beowulf</span> <span class="project-version">0.2.0</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 "><a href="intro.html"><div class="inner"><span>Introduction to beowulf</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>beowulf</span></div></div></li><li class="depth-2 branch"><a href="beowulf.bootstrap.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>bootstrap</span></div></a></li><li class="depth-2 branch current"><a href="beowulf.cons-cell.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cons-cell</span></div></a></li><li class="depth-2 branch"><a href="beowulf.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-2 branch"><a href="beowulf.host.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>host</span></div></a></li><li class="depth-2"><a href="beowulf.read.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>read</span></div></a></li></ul></div><div class="sidebar secondary"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="beowulf.cons-cell.html#var-F"><div class="inner"><span>F</span></div></a></li><li class="depth-1"><a href="beowulf.cons-cell.html#var-make-beowulf-list"><div class="inner"><span>make-beowulf-list</span></div></a></li><li class="depth-1"><a href="beowulf.cons-cell.html#var-make-cons-cell"><div class="inner"><span>make-cons-cell</span></div></a></li><li class="depth-1"><a href="beowulf.cons-cell.html#var-NIL"><div class="inner"><span>NIL</span></div></a></li><li class="depth-1"><a href="beowulf.cons-cell.html#var-pretty-print"><div class="inner"><span>pretty-print</span></div></a></li><li class="depth-1"><a href="beowulf.cons-cell.html#var-T"><div class="inner"><span>T</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">beowulf.cons-cell</h1><div class="doc"><div class="markdown"><p>The fundamental cons cell on which all Lisp structures are built. Lisp 1.5 lists do not necessarily have a sequence as their CDR, so cannot be implemented on top of Clojure lists.</p></div></div><div class="public anchor" id="var-F"><h3>F</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>The canonical false value - different from <code>NIL</code>, which is not canonically false in Lisp 1.5.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/beowulf/blob/master/src/beowulf/cons_cell.clj#L14">view source</a></div></div><div class="public anchor" id="var-make-beowulf-list"><h3>make-beowulf-list</h3><div class="usage"><code>(make-beowulf-list x)</code></div><div class="doc"><div class="markdown"><p>Construct a linked list of cons cells with the same content as the sequence <code>x</code>.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/beowulf/blob/master/src/beowulf/cons_cell.clj#L143">view source</a></div></div><div class="public anchor" id="var-make-cons-cell"><h3>make-cons-cell</h3><h4 class="type">macro</h4><div class="usage"><code>(make-cons-cell car cdr)</code></div><div class="doc"><div class="markdown"><p>Construct a new instance of cons cell with this <code>car</code> and <code>cdr</code>.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/beowulf/blob/master/src/beowulf/cons_cell.clj#L138">view source</a></div></div><div class="public anchor" id="var-NIL"><h3>NIL</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>The canonical empty list symbol.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/beowulf/blob/master/src/beowulf/cons_cell.clj#L6">view source</a></div></div><div class="public anchor" id="var-pretty-print"><h3>pretty-print</h3><div class="usage"><code>(pretty-print cell)</code><code>(pretty-print cell width level)</code></div><div class="doc"><div class="markdown"><p>This isnt the worlds best pretty printer but it sort of works.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/beowulf/blob/master/src/beowulf/cons_cell.clj#L95">view source</a></div></div><div class="public anchor" id="var-T"><h3>T</h3><div class="usage"></div><div class="doc"><div class="markdown"><p>The canonical true value.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/beowulf/blob/master/src/beowulf/cons_cell.clj#L10">view source</a></div></div></div></body></html>