Continued fraction/Arithmetic/Construct from rational number: Difference between revisions
Continued fraction/Arithmetic/Construct from rational number (view source)
Revision as of 15:00, 1 March 2023
, 1 year ago→An implementation using lazy lists
Line 3,375:
I used arbitrary-precision numbers so I could plug in some big numbers.
''Important'': in Mercury, '''delay''' takes an explicit thunk (not
<syntaxhighlight lang="mercury">
|