You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
4.0 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CostKind (infer.IBase.CostKind)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../index.html">infer</a> &#x00BB; <a href="../index.html">IBase</a> &#x00BB; CostKind</nav><h1>Module <code>IBase.CostKind</code></h1></header><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code><code> = </code><table class="variant"><tr id="type-t.OperationCost" class="anchored"><td class="def constructor"><a href="#type-t.OperationCost" class="anchor"></a><code>| </code><code><span class="constructor">OperationCost</span></code></td></tr><tr id="type-t.AllocationCost" class="anchored"><td class="def constructor"><a href="#type-t.AllocationCost" class="anchor"></a><code>| </code><code><span class="constructor">AllocationCost</span></code></td></tr><tr id="type-t.IOCost" class="anchored"><td class="def constructor"><a href="#type-t.IOCost" class="anchor"></a><code>| </code><code><span class="constructor">IOCost</span></code></td></tr></table></dt></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val</span> compare : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> int</code></dt></dl></div></div></div><dl><dt class="spec type" id="type-kind_spec"><a href="#type-kind_spec" class="anchor"></a><code><span class="keyword">type</span> kind_spec</code><code> = </code><code>{</code><table class="record"><tr id="type-kind_spec.kind" class="anchored"><td class="def field"><a href="#type-kind_spec.kind" class="anchor"></a><code>kind : <a href="index.html#type-t">t</a>;</code></td></tr><tr id="type-kind_spec.top_and_unreachable" class="anchored"><td class="def field"><a href="#type-kind_spec.top_and_unreachable" class="anchor"></a><code>top_and_unreachable : bool;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-compare"><a href="#val-compare" class="anchor"></a><code><span class="keyword">val</span> compare : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val</span> pp : Stdlib.Format.formatter <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-to_complexity_string"><a href="#val-to_complexity_string" class="anchor"></a><code><span class="keyword">val</span> to_complexity_string : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-to_issue_string"><a href="#val-to_issue_string" class="anchor"></a><code><span class="keyword">val</span> to_issue_string : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-to_json_cost_info"><a href="#val-to_json_cost_info" class="anchor"></a><code><span class="keyword">val</span> to_json_cost_info : <a href="../../ATDGenerated/Jsonbug_t/index.html#type-cost_item">ATDGenerated.Jsonbug_t.cost_item</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="../../ATDGenerated/Jsonbug_t/index.html#type-cost_info">ATDGenerated.Jsonbug_t.cost_info</a></code></dt><dt class="spec value" id="val-enabled_cost_kinds"><a href="#val-enabled_cost_kinds" class="anchor"></a><code><span class="keyword">val</span> enabled_cost_kinds : <span><a href="index.html#type-kind_spec">kind_spec</a> list</span></code></dt></dl></div></body></html>