Continued fraction/Arithmetic/G(matrix ng, continued fraction n): Difference between revisions

m
Line 834:
===Using linear types===
 
This method of implementation purposely avoids the need for a garbage collector, and should be safe against the possibility of a memory leak. It does not memoize results, however.
 
The demo program outputs LuaTeX macro code (for plain TeX, not LaTeX).
 
<syntaxhighlight lang="ats">(*------------------------------------------------------------------*)
1,448

edits