This PR adjusts the experimental module system to make `private` the default visibility modifier in `module`s, introducing `public` as a new modifier instead. `public section` can be used to revert the default for an entire section, though this is more intended to ease gradual adoption of the new semantics such as in `Init` (and soon `Std`) where they should be replaced by a future decl-by-decl re-review of visibilities.
23 lines
581 B
Text
23 lines
581 B
Text
/-
|
|
Copyright (c) 2025 Lean FRO, LLC. All rights reserved.
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
Authors: Paul Reichert
|
|
-/
|
|
module
|
|
|
|
prelude
|
|
public import Init.Data.Iterators.Basic
|
|
public import Init.Data.Iterators.PostconditionMonad
|
|
public import Init.Data.Iterators.Consumers
|
|
public import Init.Data.Iterators.Combinators
|
|
public import Init.Data.Iterators.Lemmas
|
|
public import Init.Data.Iterators.ToIterator
|
|
public import Init.Data.Iterators.Internal
|
|
|
|
public section
|
|
|
|
/-!
|
|
# Iterators
|
|
|
|
See `Std.Data.Iterators` for an overview over the iterator API.
|
|
-/
|