NOTE: the latest version is 11.2.0
Set operations that can be applied in either Direction
Set
Direction
Reduce in a Direction
import Linear exposing (Direction(..)) import Set Set.fromList [ 'i', 'l', 'a', 'g' ] |> Set.Linear.foldFrom "" Up String.cons --> "liga" Set.fromList [ 'i', 'l', 'a', 'g' ] |> Set.Linear.foldFrom "" Down String.cons --> "agil"
Reduce in a
Direction