diff options
author | mihleonid <37627696+mihleonid@users.noreply.github.com> | 2024-03-11 14:42:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-11 12:42:55 +0100 |
commit | 8a7cdc171f9e56fc54227720acaa78db3948747a (patch) | |
tree | acc0826b2b281756111cfe386df986d3521b72be /ru-ru/haskell-ru.html.markdown | |
parent | c2c7195779196280f914c2b20b2ef4a811924385 (diff) |
Update haskell-ru.html.markdown (#4696)
"fib" is mentioned three times in this document. First and last time fib 2 = 1. I suppose that in the second time fib 2 = 2 was a typo.
Diffstat (limited to 'ru-ru/haskell-ru.html.markdown')
-rw-r--r-- | ru-ru/haskell-ru.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ru-ru/haskell-ru.html.markdown b/ru-ru/haskell-ru.html.markdown index b1b8eb79..f04c45e2 100644 --- a/ru-ru/haskell-ru.html.markdown +++ b/ru-ru/haskell-ru.html.markdown @@ -172,7 +172,7 @@ fib x первое определение, к образцу которого "подойдет" набор аргументов -} fib 1 = 1 -fib 2 = 2 +fib 2 = 1 fib x = fib (x - 1) + fib (x - 2) -- Pattern matching для кортежей выглядит так |