swh:1:snp:a72e953ecd624a7df6e6196bbdd05851996c5e40
Revision 90338777498b9af67eeb1fd56553dea3a2124cae authored by Henri Dehaybe on 03 April 2021, 03:33:36 UTC, committed by GitHub on 03 April 2021, 03:33:36 UTC
I think that most of the time when one calls `reset!(::Stateful)` it will be to simply restart from the begin without changing the iterated collection. So I figured that would avoid `reset!(sf, sf.itr)`. 
I also added the use of `reset!` to the documentation examples because it's not documented anywhere. This way users know of its existence.
1 parent e1f6a64
History
Tip revision: 944f1809185455a1c57207983c1d0f8904343503 authored by Bogumił Kamiński on 25 March 2024, 15:18:44 UTC
Add Xoshiro reference to Random module docstring (#53784)
Tip revision: 944f180
File Mode Size
.devcontainer
.github
base
cli
contrib
deps
doc
etc
src
stdlib
test
.clang-format -rw-r--r-- 3.3 KB
.gitattributes -rw-r--r-- 65 bytes
.gitignore -rw-r--r-- 283 bytes
.mailmap -rw-r--r-- 11.0 KB
CITATION.bib -rw-r--r-- 2.6 KB
CONTRIBUTING.md -rw-r--r-- 19.7 KB
HISTORY.md -rw-r--r-- 313.4 KB
LICENSE.md -rw-r--r-- 5.0 KB
Make.inc -rw-r--r-- 48.0 KB
Makefile -rw-r--r-- 25.4 KB
NEWS.md -rw-r--r-- 4.2 KB
README.md -rw-r--r-- 6.8 KB
VERSION -rw-r--r-- 10 bytes
sysimage.mk -rw-r--r-- 3.9 KB

README.md

back to top