8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <html><head> 8caee17864 2010-11-24 kinaba: <meta http-equiv="content-type" content="text/html; charset=utf-8"> 8caee17864 2010-11-24 kinaba: <meta content="text/javascript" http-equiv="content-script-type"> 8caee17864 2010-11-24 kinaba: <title>tricks.tricks</title> 8caee17864 2010-11-24 kinaba: <link rel="stylesheet" type="text/css" href="candydoc/style.css"> 8caee17864 2010-11-24 kinaba: <!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="candydoc/ie56hack.css"><![endif]--> 8caee17864 2010-11-24 kinaba: <script language="JavaScript" src="candydoc/util.js" type="text/javascript"></script> 8caee17864 2010-11-24 kinaba: <script language="JavaScript" src="candydoc/tree.js" type="text/javascript"></script> 8caee17864 2010-11-24 kinaba: <script language="JavaScript" src="candydoc/explorer.js" type="text/javascript"></script> 8caee17864 2010-11-24 kinaba: </head><body> 8caee17864 2010-11-24 kinaba: <div id="tabarea"></div><div id="explorerclient"></div> 8caee17864 2010-11-24 kinaba: <div id="content"><script>explorer.initialize("tricks.tricks");</script> 8caee17864 2010-11-24 kinaba: <table class="content"> 8caee17864 2010-11-24 kinaba: <tr><td id="docbody"><h1>tricks.tricks</h1><!-- Generated by Ddoc from tricks\tricks.d --> 8caee17864 2010-11-24 kinaba: <b>Authors:</b><br> 8caee17864 2010-11-24 kinaba: k.inaba 8caee17864 2010-11-24 kinaba: <br><br> 8caee17864 2010-11-24 kinaba: <b>License:</b><br> 8caee17864 2010-11-24 kinaba: NYSL 0.9982 http://www.kmonos.net/nysl/ 8caee17864 2010-11-24 kinaba: <br><br> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: Common 8caee17864 2010-11-24 kinaba: <span class="currsymbol">tricks</span> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.addDecl('tricks');</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: and utilities for programming in D.<br><br> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <script>explorer.outline.incSymbolLevel();</script> 8caee17864 2010-11-24 kinaba: <dl> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = true;</script> 8caee17864 2010-11-24 kinaba: <dt><span class="decl">string 8caee17864 2010-11-24 kinaba: <span class="currsymbol">sprintf</span> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.addDecl('sprintf');</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: (string fmt, T...)(T <span class="funcparam">params</span>); 8caee17864 2010-11-24 kinaba: </span></dt> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = false;</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <dd>Simple Wrapper for std.format.doFormat<br><br> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: </dd> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = true;</script> 8caee17864 2010-11-24 kinaba: <dt><span class="decl">ExceptionType 8caee17864 2010-11-24 kinaba: <span class="currsymbol">genex</span> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.addDecl('genex');</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: (ExceptionType, string fn = __FILE__, int ln = __LINE__, T...)(T <span class="funcparam">params</span>); 8caee17864 2010-11-24 kinaba: </span></dt> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = false;</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <dd>Create an exception with automatically completed filename and lineno information<br><br> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: </dd> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = true;</script> 8caee17864 2010-11-24 kinaba: <dt><span class="decl">template 8caee17864 2010-11-24 kinaba: <span class="currsymbol">SimpleConstructor</span> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.addDecl('SimpleConstructor');</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: ()</span></dt> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = false;</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <dd>Mixing-in the bean constructor for a class<br><br> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <script>explorer.outline.incSymbolLevel();</script> 8caee17864 2010-11-24 kinaba: <dl> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = true;</script> 8caee17864 2010-11-24 kinaba: <dt><span class="decl">this(typeof(this.tupleof) params); 8caee17864 2010-11-24 kinaba: </span></dt> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = false;</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <dd>member-by-member constructor<br><br> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: </dd> 8caee17864 2010-11-24 kinaba: </dl> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.decSymbolLevel();</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: </dd> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = true;</script> 8caee17864 2010-11-24 kinaba: <dt><span class="decl">template 8caee17864 2010-11-24 kinaba: <span class="currsymbol">SimpleToHash</span> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.addDecl('SimpleToHash');</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: ()</span></dt> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = false;</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 474c4facf0 2010-11-25 kinaba: <dd>Mixing-in the MOST-DERIVED-member-wise comparator for a class 474c4facf0 2010-11-25 kinaba: BE SURE THAT THIS IS CONSISTENT WITH opCmp and opEquals<br><br> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <script>explorer.outline.incSymbolLevel();</script> 8caee17864 2010-11-24 kinaba: <dl> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = true;</script> 8caee17864 2010-11-24 kinaba: <dt><span class="decl">const hash_t 8caee17864 2010-11-24 kinaba: <span class="currsymbol">toHash</span> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.addDecl('toHash');</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: (); 8caee17864 2010-11-24 kinaba: </span></dt> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = false;</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <dd>member-by-member hash<br><br> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: </dd> 8caee17864 2010-11-24 kinaba: </dl> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.decSymbolLevel();</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: </dd> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = true;</script> 8caee17864 2010-11-24 kinaba: <dt><span class="decl">template 474c4facf0 2010-11-25 kinaba: <span class="currsymbol">SimpleCompareWithoutToHash</span> 474c4facf0 2010-11-25 kinaba: <script>explorer.outline.addDecl('SimpleCompareWithoutToHash');</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: ()</span></dt> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = false;</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <dd>Mixing-in the MOST-DERIVED-member-wise comparator for a class<br><br> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <script>explorer.outline.incSymbolLevel();</script> 8caee17864 2010-11-24 kinaba: <dl> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = true;</script> 8caee17864 2010-11-24 kinaba: <dt><span class="decl">const bool 8caee17864 2010-11-24 kinaba: <span class="currsymbol">opEquals</span> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.addDecl('opEquals');</script> 8caee17864 2010-11-24 kinaba: 474c4facf0 2010-11-25 kinaba: (Object <span class="funcparam">rhs</span>); 8caee17864 2010-11-24 kinaba: </span></dt> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = false;</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <dd>member-by-member equality<br><br> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: </dd> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = true;</script> 8caee17864 2010-11-24 kinaba: <dt><span class="decl">const int 8caee17864 2010-11-24 kinaba: <span class="currsymbol">opCmp</span> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.addDecl('opCmp');</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: (Object <span class="funcparam">rhs_</span>); 8caee17864 2010-11-24 kinaba: </span></dt> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = false;</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <dd>member-by-member compare<br><br> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: </dd> 8caee17864 2010-11-24 kinaba: </dl> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.decSymbolLevel();</script> 8caee17864 2010-11-24 kinaba: 474c4facf0 2010-11-25 kinaba: 474c4facf0 2010-11-25 kinaba: </dd> 474c4facf0 2010-11-25 kinaba: 474c4facf0 2010-11-25 kinaba: <script>explorer.outline.writeEnabled = true;</script> 474c4facf0 2010-11-25 kinaba: <dt><span class="decl">template 474c4facf0 2010-11-25 kinaba: <span class="currsymbol">SimpleCompare</span> 474c4facf0 2010-11-25 kinaba: <script>explorer.outline.addDecl('SimpleCompare');</script> 474c4facf0 2010-11-25 kinaba: 474c4facf0 2010-11-25 kinaba: ()</span></dt> 474c4facf0 2010-11-25 kinaba: <script>explorer.outline.writeEnabled = false;</script> 474c4facf0 2010-11-25 kinaba: 474c4facf0 2010-11-25 kinaba: 474c4facf0 2010-11-25 kinaba: <dd>Mixing-in the MOST-DERIVED-member-wise comparator for a class<br><br> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: </dd> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = true;</script> 8caee17864 2010-11-24 kinaba: <dt><span class="decl">template 8caee17864 2010-11-24 kinaba: <span class="currsymbol">SimpleToString</span> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.addDecl('SimpleToString');</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: ()</span></dt> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = false;</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <dd>Mixing-in a simple toString method<br><br> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <script>explorer.outline.incSymbolLevel();</script> 8caee17864 2010-11-24 kinaba: <dl> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = true;</script> 8caee17864 2010-11-24 kinaba: <dt><span class="decl">string 8caee17864 2010-11-24 kinaba: <span class="currsymbol">toString</span> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.addDecl('toString');</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: (); 8caee17864 2010-11-24 kinaba: </span></dt> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = false;</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <dd>member-by-member 8caee17864 2010-11-24 kinaba: <span class="currsymbol">toString</span> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.addDecl('toString');</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <br><br> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: </dd> 8caee17864 2010-11-24 kinaba: </dl> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.decSymbolLevel();</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: </dd> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = true;</script> 8caee17864 2010-11-24 kinaba: <dt><span class="decl">template 8caee17864 2010-11-24 kinaba: <span class="currsymbol">SimpleClass</span> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.addDecl('SimpleClass');</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: ()</span></dt> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = false;</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <dd>Everything is in<br><br> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: </dd> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = true;</script> 8caee17864 2010-11-24 kinaba: <dt><span class="decl">template 8caee17864 2010-11-24 kinaba: <span class="currsymbol">firstParam</span> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.addDecl('firstParam');</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: (T)</span></dt> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.writeEnabled = false;</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 474c4facf0 2010-11-25 kinaba: <dd>Utility<br><br> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: </dd> 8caee17864 2010-11-24 kinaba: </dl> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.decSymbolLevel();</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: </td></tr> 8caee17864 2010-11-24 kinaba: <tr><td id="docfooter"> 8caee17864 2010-11-24 kinaba: Page was generated with 8caee17864 2010-11-24 kinaba: <img src="candydoc/img/candydoc.gif" style="vertical-align:middle; position:relative; top:-1px"> 474c4facf0 2010-11-25 kinaba: on Thu Nov 25 12:15:09 2010 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: </td></tr> 8caee17864 2010-11-24 kinaba: </table> 8caee17864 2010-11-24 kinaba: </div> 8caee17864 2010-11-24 kinaba: <script> 8caee17864 2010-11-24 kinaba: explorer.packageExplorer.addModule("index"); 8caee17864 2010-11-24 kinaba: explorer.packageExplorer.addModule("main"); 8caee17864 2010-11-24 kinaba: explorer.packageExplorer.addModule("tricks.tricks"); 8caee17864 2010-11-24 kinaba: explorer.packageExplorer.addModule("tricks.test"); 8caee17864 2010-11-24 kinaba: explorer.packageExplorer.addModule("polemy._common"); 8caee17864 2010-11-24 kinaba: explorer.packageExplorer.addModule("polemy.failure"); 8caee17864 2010-11-24 kinaba: explorer.packageExplorer.addModule("polemy.layer"); 8caee17864 2010-11-24 kinaba: explorer.packageExplorer.addModule("polemy.fresh"); 8caee17864 2010-11-24 kinaba: explorer.packageExplorer.addModule("polemy.lex"); 8caee17864 2010-11-24 kinaba: explorer.packageExplorer.addModule("polemy.parse"); 8caee17864 2010-11-24 kinaba: explorer.packageExplorer.addModule("polemy.ast"); 8caee17864 2010-11-24 kinaba: explorer.packageExplorer.addModule("polemy.value"); 8caee17864 2010-11-24 kinaba: explorer.packageExplorer.addModule("polemy.valueconv"); 8caee17864 2010-11-24 kinaba: explorer.packageExplorer.addModule("polemy.eval"); 8caee17864 2010-11-24 kinaba: explorer.packageExplorer.addModule("polemy.runtime"); 8caee17864 2010-11-24 kinaba: explorer.packageExplorer.addModule("polemy.repl");</script> 8caee17864 2010-11-24 kinaba: </body></html> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: