-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f6dc566
commit 018d125
Showing
14 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<!DOCTYPE html PUBLIC "" | ||
""> | ||
<html><head><meta charset="UTF-8" /><title>precept.accumulators 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">Precept</span> <span class="project-version">0.3.0-alpha</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">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>precept</span></div></div></li><li class="depth-2 branch current"><a href="precept.accumulators.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>accumulators</span></div></a></li><li class="depth-2 branch"><a href="precept.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="precept.dsl.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>dsl</span></div></a></li><li class="depth-2 branch"><a href="precept.listeners.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>listeners</span></div></a></li><li class="depth-2 branch"><a href="precept.macros.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>macros</span></div></a></li><li class="depth-2 branch"><a href="precept.query.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>query</span></div></a></li><li class="depth-2 branch"><a href="precept.rules.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>rules</span></div></a></li><li class="depth-2 branch"><a href="precept.schema.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>schema</span></div></a></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>spec</span></div></div></li><li class="depth-3 branch"><a href="precept.spec.error.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>error</span></div></a></li><li class="depth-3 branch"><a href="precept.spec.lang.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>lang</span></div></a></li><li class="depth-3"><a href="precept.spec.sub.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>sub</span></div></a></li><li class="depth-2 branch"><a href="precept.state.html"><div class="inner"><span class="tree" style="top: -114px;"><span class="top" style="height: 123px;"></span><span class="bottom"></span></span><span>state</span></div></a></li><li class="depth-2"><a href="precept.util.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>util</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="precept.accumulators.html#var-accum"><div class="inner"><span>accum</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-all"><div class="inner"><span>all</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-average"><div class="inner"><span>average</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-by-fact-id"><div class="inner"><span>by-fact-id</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-count"><div class="inner"><span>count</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-distinct"><div class="inner"><span>distinct</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-grouping-by"><div class="inner"><span>grouping-by</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-list-of"><div class="inner"><span>list-of</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-max"><div class="inner"><span>max</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-min"><div class="inner"><span>min</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-reduce-to-accum"><div class="inner"><span>reduce-to-accum</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-sum"><div class="inner"><span>sum</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">precept.accumulators</h1><div class="doc"><div class="markdown"></div></div><div class="public anchor" id="var-accum"><h3>accum</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div></div><div class="public anchor" id="var-all"><h3>all</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div></div><div class="public anchor" id="var-average"><h3>average</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div></div><div class="public anchor" id="var-by-fact-id"><h3>by-fact-id</h3><div class="usage"><code>(by-fact-id)</code><code>(by-fact-id k)</code></div><div class="doc"><div class="markdown"><p>Custom accumulator.</p> | ||
<html><head><meta charset="UTF-8" /><title>precept.accumulators 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">Precept</span> <span class="project-version">0.3.1-alpha</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">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>precept</span></div></div></li><li class="depth-2 branch current"><a href="precept.accumulators.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>accumulators</span></div></a></li><li class="depth-2 branch"><a href="precept.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="precept.dsl.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>dsl</span></div></a></li><li class="depth-2 branch"><a href="precept.listeners.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>listeners</span></div></a></li><li class="depth-2 branch"><a href="precept.macros.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>macros</span></div></a></li><li class="depth-2 branch"><a href="precept.query.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>query</span></div></a></li><li class="depth-2 branch"><a href="precept.rules.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>rules</span></div></a></li><li class="depth-2 branch"><a href="precept.schema.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>schema</span></div></a></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>spec</span></div></div></li><li class="depth-3 branch"><a href="precept.spec.error.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>error</span></div></a></li><li class="depth-3 branch"><a href="precept.spec.lang.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>lang</span></div></a></li><li class="depth-3"><a href="precept.spec.sub.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>sub</span></div></a></li><li class="depth-2 branch"><a href="precept.state.html"><div class="inner"><span class="tree" style="top: -114px;"><span class="top" style="height: 123px;"></span><span class="bottom"></span></span><span>state</span></div></a></li><li class="depth-2"><a href="precept.util.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>util</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="precept.accumulators.html#var-accum"><div class="inner"><span>accum</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-all"><div class="inner"><span>all</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-average"><div class="inner"><span>average</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-by-fact-id"><div class="inner"><span>by-fact-id</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-count"><div class="inner"><span>count</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-distinct"><div class="inner"><span>distinct</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-grouping-by"><div class="inner"><span>grouping-by</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-list-of"><div class="inner"><span>list-of</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-max"><div class="inner"><span>max</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-min"><div class="inner"><span>min</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-reduce-to-accum"><div class="inner"><span>reduce-to-accum</span></div></a></li><li class="depth-1"><a href="precept.accumulators.html#var-sum"><div class="inner"><span>sum</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">precept.accumulators</h1><div class="doc"><div class="markdown"></div></div><div class="public anchor" id="var-accum"><h3>accum</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div></div><div class="public anchor" id="var-all"><h3>all</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div></div><div class="public anchor" id="var-average"><h3>average</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div></div><div class="public anchor" id="var-by-fact-id"><h3>by-fact-id</h3><div class="usage"><code>(by-fact-id)</code><code>(by-fact-id k)</code></div><div class="doc"><div class="markdown"><p>Custom accumulator.</p> | ||
<p>Like acc/all ewxcept sorts tuples by :t slot (fact-id). Since fact ids are created sequentially this sorts facts by order they were created. Returns list of facts. Optional <code>k</code> arg maps <code>k</code> over facts.</p></div></div></div><div class="public anchor" id="var-count"><h3>count</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div></div><div class="public anchor" id="var-distinct"><h3>distinct</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div></div><div class="public anchor" id="var-grouping-by"><h3>grouping-by</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div></div><div class="public anchor" id="var-list-of"><h3>list-of</h3><div class="usage"><code>(list-of fact-f)</code><code>(list-of fact-f list-f)</code></div><div class="doc"><div class="markdown"><p>Custom accumulator.</p> | ||
<p>Calls fact-f on facts being accumulated. If provided, calls list-f on accumulated list result.</p></div></div></div><div class="public anchor" id="var-max"><h3>max</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div></div><div class="public anchor" id="var-min"><h3>min</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div></div><div class="public anchor" id="var-reduce-to-accum"><h3>reduce-to-accum</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div></div><div class="public anchor" id="var-sum"><h3>sum</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div></div></div></body></html> |
Oops, something went wrong.