qubit-function 0.12.0

Functional programming traits and Box/Rc/Arc adapters for Rust, inspired by Java functional interfaces
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*******************************************************************************
 *
 *    Copyright (c) 2025 - 2026 Haixing Hu.
 *
 *    SPDX-License-Identifier: Apache-2.0
 *
 *    Licensed under the Apache License, Version 2.0.
 *
 ******************************************************************************/

use qubit_function::ArcCallableWith;

#[test]
fn test_arc_callable_with_observable_behavior() {
    let type_name = std::any::type_name::<ArcCallableWith<i32, i32, std::io::Error>>();
    assert!(type_name.contains("ArcCallableWith"), "{type_name}");
}