macro-lens 2.0.1

Provides support for lenses, which are a mechanism in functional programming for focusing on a part of a complex data structure.
Documentation
//
// Copyright (c) 2015-2019 Plausible Labs Cooperative, Inc.
// All rights reserved.
//
//
// Copyright (c) 2025 Julius Foitzik on derivate work
// All rights reserved.
//

/// Provides a shorthand for composing a series of lenses.
#[macro_export]
macro_rules! compose_lens {
    { $head:expr } => {
        $head
    };
    { $head:expr, $($tail:expr),+ } => {
        lens::compose($head, lens::compose_lens!($($tail),+))
    };
}