Continued fraction/Arithmetic/G(matrix ng, continued fraction n): Difference between revisions
Content added Content deleted
Line 4,290: | Line 4,290: | ||
=={{header|Haskell}}== |
=={{header|Haskell}}== |
||
{{works with|GHC|9.0.2}} |
{{works with|GHC|9.0.2}} |
||
One might note that a lazy list automatically memoizes terms, but not with O(1) access times. |
|||
<syntaxhighlight lang="haskell"> |
<syntaxhighlight lang="haskell"> |