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
Showing
52 changed files
with
3,638 additions
and
398 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,123 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"/> | ||
<title>Cctor<'Config, 'T, 'T2> - DependentTypes</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | ||
<meta name="description" content=""/> | ||
<meta name="author" content="Robert Kuzelj"/> | ||
|
||
<script src="https://code.jquery.com/jquery-1.8.0.js"></script> | ||
<script src="https://code.jquery.com/ui/1.8.23/jquery-ui.js"></script> | ||
<script src="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/js/bootstrap.min.js"></script> | ||
<link href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap-combined.min.css" rel="stylesheet"/> | ||
|
||
<link type="text/css" rel="stylesheet" href="/DependentTypes/content/style.css" /> | ||
<script type="text/javascript" src="/DependentTypes/content/tips.js"></script> | ||
<!-- HTML5 shim, for IE6-8 support of HTML5 elements --> | ||
<!--[if lt IE 9]> | ||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> | ||
<![endif]--> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<div class="masthead"> | ||
<ul class="nav nav-pills pull-right"> | ||
<li><a href="http://fsharp.org">fsharp.org</a></li> | ||
<li><a href="https://github.com/jackfoxy/DependentTypes">github page</a></li> | ||
</ul> | ||
<h3 class="muted"><a href="/DependentTypes/index.html">DependentTypes</a></h3> | ||
</div> | ||
<hr /> | ||
<div class="row"> | ||
<div class="span9" id="main"> | ||
|
||
|
||
|
||
|
||
<h1>Cctor<'Config, 'T, 'T2></h1> | ||
<p> | ||
<span>Namespace: DependentTypes</span><br /> | ||
</p> | ||
<div class="xmldoc"> | ||
<p>Constructor / validator type for DependentType 'T1 -> 'T2 style dependent types</p> | ||
|
||
</div> | ||
<h3>Constructors</h3> | ||
<table class="table table-bordered member-list"> | ||
<thead> | ||
<tr><td>Constructor</td><td>Description</td></tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td class="member-name"> | ||
|
||
<code onmouseout="hideTip(event, '4', 4)" onmouseover="showTip(event, '4', 4)"> | ||
new(config, vfn) | ||
</code> | ||
<div class="tip" id="4"> | ||
<strong>Signature:</strong> (config:'Config * vfn:('Config -> 'T -> Option<'T2>)) -> Cctor<'Config,'T,'T2><br /> | ||
</div> | ||
</td> | ||
<td class="xmldoc"> | ||
<a href="https://github.com/jackfoxy/DependentTypes/tree/master/src/DependentTypes/DependentTypes.fs#L19-19" class="github-link"> | ||
<img src="../content/img/github.png" class="normal" /> | ||
<img src="../content/img/github-blue.png" class="hover" /> | ||
</a> | ||
|
||
<p>CompiledName: <code>.ctor</code></p> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<h3>Instance members</h3> | ||
<table class="table table-bordered member-list"> | ||
<thead> | ||
<tr><td>Instance member</td><td>Description</td></tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td class="member-name"> | ||
|
||
<code onmouseout="hideTip(event, '5', 5)" onmouseover="showTip(event, '5', 5)"> | ||
TryCreate(x) | ||
</code> | ||
<div class="tip" id="5"> | ||
<strong>Signature:</strong> x:'T -> Option<'T2><br /> | ||
</div> | ||
</td> | ||
<td class="xmldoc"> | ||
<a href="https://github.com/jackfoxy/DependentTypes/tree/master/src/DependentTypes/DependentTypes.fs#L20-20" class="github-link"> | ||
<img src="../content/img/github.png" class="normal" /> | ||
<img src="../content/img/github-blue.png" class="hover" /> | ||
</a> | ||
|
||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
</div> | ||
<div class="span3"> | ||
<img src="/DependentTypes/img/logo.png" alt="F# Project" style="width:150px;margin:10px" /> | ||
<ul class="nav nav-list" id="menu" style="margin-top: 20px;"> | ||
<li class="nav-header">DependentTypes</li> | ||
<li><a href="/DependentTypes/index.html">Home page</a></li> | ||
<li class="divider"></li> | ||
<li><a href="http://nuget.org/packages/DependentTypes">Get Library via NuGet</a></li> | ||
<li><a href="https://github.com/jackfoxy/DependentTypes">Source Code on GitHub</a></li> | ||
<li><a href="/DependentTypes/license.html">License</a></li> | ||
<li><a href="/DependentTypes/release-notes.html">Release Notes</a></li> | ||
|
||
<li class="nav-header">Getting started</li> | ||
<li><a href="/DependentTypes/tutorial.html">Tutorial</a></li> | ||
|
||
<li class="nav-header">Documentation</li> | ||
<li><a href="/DependentTypes/reference/index.html">API Reference</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
<a href="https://github.com/jackfoxy/DependentTypes"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"/></a> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -0,0 +1,257 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"/> | ||
<title>DependentType<'Cctor, 'Config, 'T, 'T2> - DependentTypes</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | ||
<meta name="description" content=""/> | ||
<meta name="author" content="Robert Kuzelj"/> | ||
|
||
<script src="https://code.jquery.com/jquery-1.8.0.js"></script> | ||
<script src="https://code.jquery.com/ui/1.8.23/jquery-ui.js"></script> | ||
<script src="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/js/bootstrap.min.js"></script> | ||
<link href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap-combined.min.css" rel="stylesheet"/> | ||
|
||
<link type="text/css" rel="stylesheet" href="/DependentTypes/content/style.css" /> | ||
<script type="text/javascript" src="/DependentTypes/content/tips.js"></script> | ||
<!-- HTML5 shim, for IE6-8 support of HTML5 elements --> | ||
<!--[if lt IE 9]> | ||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> | ||
<![endif]--> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<div class="masthead"> | ||
<ul class="nav nav-pills pull-right"> | ||
<li><a href="http://fsharp.org">fsharp.org</a></li> | ||
<li><a href="https://github.com/jackfoxy/DependentTypes">github page</a></li> | ||
</ul> | ||
<h3 class="muted"><a href="/DependentTypes/index.html">DependentTypes</a></h3> | ||
</div> | ||
<hr /> | ||
<div class="row"> | ||
<div class="span9" id="main"> | ||
|
||
|
||
|
||
|
||
<h1>DependentType<'Cctor, 'Config, 'T, 'T2></h1> | ||
<p> | ||
<span>Namespace: DependentTypes</span><br /> | ||
</p> | ||
<div class="xmldoc"> | ||
<p>'T1 -> 'T2 style dependent type</p> | ||
|
||
</div> | ||
<h3>Union Cases</h3> | ||
<table class="table table-bordered member-list"> | ||
<thead> | ||
<tr><td>Union Case</td><td>Description</td></tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td class="member-name"> | ||
|
||
<code onmouseout="hideTip(event, '6', 6)" onmouseover="showTip(event, '6', 6)"> | ||
DependentType('T2) | ||
</code> | ||
<div class="tip" id="6"> | ||
<strong>Signature:</strong> 'T2<br /> | ||
</div> | ||
</td> | ||
<td class="xmldoc"> | ||
<a href="https://github.com/jackfoxy/DependentTypes/tree/master/src/DependentTypes/DependentTypes.fs#L25-25" class="github-link"> | ||
<img src="../content/img/github.png" class="normal" /> | ||
<img src="../content/img/github-blue.png" class="hover" /> | ||
</a> | ||
|
||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<h3>Instance members</h3> | ||
<table class="table table-bordered member-list"> | ||
<thead> | ||
<tr><td>Instance member</td><td>Description</td></tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td class="member-name"> | ||
|
||
<code onmouseout="hideTip(event, '7', 7)" onmouseover="showTip(event, '7', 7)"> | ||
Value | ||
</code> | ||
<div class="tip" id="7"> | ||
<strong>Signature:</strong> 'T2<br /> | ||
</div> | ||
</td> | ||
<td class="xmldoc"> | ||
<a href="https://github.com/jackfoxy/DependentTypes/tree/master/src/DependentTypes/DependentTypes.fs#L28-28" class="github-link"> | ||
<img src="../content/img/github.png" class="normal" /> | ||
<img src="../content/img/github-blue.png" class="hover" /> | ||
</a> | ||
|
||
<p>CompiledName: <code>get_Value</code></p> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<h3>Static members</h3> | ||
<table class="table table-bordered member-list"> | ||
<thead> | ||
<tr><td>Static member</td><td>Description</td></tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td class="member-name"> | ||
|
||
<code onmouseout="hideTip(event, '8', 8)" onmouseover="showTip(event, '8', 8)"> | ||
ConvertTo(x) | ||
</code> | ||
<div class="tip" id="8"> | ||
<strong>Signature:</strong> x:DependentType<'x,'y,'q,^r> -> Option<DependentType<'a,'b,^r,'s>><br /> | ||
<strong>Type parameters:</strong> 'a, 'b, 's </div> | ||
</td> | ||
<td class="xmldoc"> | ||
<a href="https://github.com/jackfoxy/DependentTypes/tree/master/src/DependentTypes/DependentTypes.fs#L50-50" class="github-link"> | ||
<img src="../content/img/github.png" class="normal" /> | ||
<img src="../content/img/github-blue.png" class="hover" /> | ||
</a> | ||
|
||
</td> | ||
</tr> | ||
<tr> | ||
<td class="member-name"> | ||
|
||
<code onmouseout="hideTip(event, '9', 9)" onmouseover="showTip(event, '9', 9)"> | ||
Create(xs) | ||
</code> | ||
<div class="tip" id="9"> | ||
<strong>Signature:</strong> (xs:'T list) -> DependentType<'Cctor,'Config,'T,'T2> list<br /> | ||
</div> | ||
</td> | ||
<td class="xmldoc"> | ||
<a href="https://github.com/jackfoxy/DependentTypes/tree/master/src/DependentTypes/DependentTypes.fs#L47-47" class="github-link"> | ||
<img src="../content/img/github.png" class="normal" /> | ||
<img src="../content/img/github-blue.png" class="hover" /> | ||
</a> | ||
|
||
</td> | ||
</tr> | ||
<tr> | ||
<td class="member-name"> | ||
|
||
<code onmouseout="hideTip(event, '10', 10)" onmouseover="showTip(event, '10', 10)"> | ||
Create(xs) | ||
</code> | ||
<div class="tip" id="10"> | ||
<strong>Signature:</strong> xs:seq<'T> -> seq<DependentType<'Cctor,'Config,'T,'T2>><br /> | ||
</div> | ||
</td> | ||
<td class="xmldoc"> | ||
<a href="https://github.com/jackfoxy/DependentTypes/tree/master/src/DependentTypes/DependentTypes.fs#L44-44" class="github-link"> | ||
<img src="../content/img/github.png" class="normal" /> | ||
<img src="../content/img/github-blue.png" class="hover" /> | ||
</a> | ||
|
||
</td> | ||
</tr> | ||
<tr> | ||
<td class="member-name"> | ||
|
||
<code onmouseout="hideTip(event, '11', 11)" onmouseover="showTip(event, '11', 11)"> | ||
Create(x) | ||
</code> | ||
<div class="tip" id="11"> | ||
<strong>Signature:</strong> x:'T -> DependentType<'Cctor,'Config,'T,'T2><br /> | ||
</div> | ||
</td> | ||
<td class="xmldoc"> | ||
<a href="https://github.com/jackfoxy/DependentTypes/tree/master/src/DependentTypes/DependentTypes.fs#L42-42" class="github-link"> | ||
<img src="../content/img/github.png" class="normal" /> | ||
<img src="../content/img/github-blue.png" class="hover" /> | ||
</a> | ||
|
||
</td> | ||
</tr> | ||
<tr> | ||
<td class="member-name"> | ||
|
||
<code onmouseout="hideTip(event, '12', 12)" onmouseover="showTip(event, '12', 12)"> | ||
Extract(x) | ||
</code> | ||
<div class="tip" id="12"> | ||
<strong>Signature:</strong> x:DependentType<'Cctor,'Config,'T,'T2> -> 'T2<br /> | ||
</div> | ||
</td> | ||
<td class="xmldoc"> | ||
<a href="https://github.com/jackfoxy/DependentTypes/tree/master/src/DependentTypes/DependentTypes.fs#L32-32" class="github-link"> | ||
<img src="../content/img/github.png" class="normal" /> | ||
<img src="../content/img/github-blue.png" class="hover" /> | ||
</a> | ||
|
||
</td> | ||
</tr> | ||
<tr> | ||
<td class="member-name"> | ||
|
||
<code onmouseout="hideTip(event, '13', 13)" onmouseover="showTip(event, '13', 13)"> | ||
TryCreate(x) | ||
</code> | ||
<div class="tip" id="13"> | ||
<strong>Signature:</strong> (x:'T option) -> Option<DependentType<'Cctor,'Config,'T,'T2>><br /> | ||
</div> | ||
</td> | ||
<td class="xmldoc"> | ||
<a href="https://github.com/jackfoxy/DependentTypes/tree/master/src/DependentTypes/DependentTypes.fs#L38-38" class="github-link"> | ||
<img src="../content/img/github.png" class="normal" /> | ||
<img src="../content/img/github-blue.png" class="hover" /> | ||
</a> | ||
|
||
</td> | ||
</tr> | ||
<tr> | ||
<td class="member-name"> | ||
|
||
<code onmouseout="hideTip(event, '14', 14)" onmouseover="showTip(event, '14', 14)"> | ||
TryCreate(x) | ||
</code> | ||
<div class="tip" id="14"> | ||
<strong>Signature:</strong> x:'T -> Option<DependentType<'Cctor,'Config,'T,'T2>><br /> | ||
</div> | ||
</td> | ||
<td class="xmldoc"> | ||
<a href="https://github.com/jackfoxy/DependentTypes/tree/master/src/DependentTypes/DependentTypes.fs#L35-35" class="github-link"> | ||
<img src="../content/img/github.png" class="normal" /> | ||
<img src="../content/img/github-blue.png" class="hover" /> | ||
</a> | ||
|
||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
</div> | ||
<div class="span3"> | ||
<img src="/DependentTypes/img/logo.png" alt="F# Project" style="width:150px;margin:10px" /> | ||
<ul class="nav nav-list" id="menu" style="margin-top: 20px;"> | ||
<li class="nav-header">DependentTypes</li> | ||
<li><a href="/DependentTypes/index.html">Home page</a></li> | ||
<li class="divider"></li> | ||
<li><a href="http://nuget.org/packages/DependentTypes">Get Library via NuGet</a></li> | ||
<li><a href="https://github.com/jackfoxy/DependentTypes">Source Code on GitHub</a></li> | ||
<li><a href="/DependentTypes/license.html">License</a></li> | ||
<li><a href="/DependentTypes/release-notes.html">Release Notes</a></li> | ||
|
||
<li class="nav-header">Getting started</li> | ||
<li><a href="/DependentTypes/tutorial.html">Tutorial</a></li> | ||
|
||
<li class="nav-header">Documentation</li> | ||
<li><a href="/DependentTypes/reference/index.html">API Reference</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
<a href="https://github.com/jackfoxy/DependentTypes"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"/></a> | ||
</body> | ||
</html> |
Oops, something went wrong.