From fe8674a77bfde97a927e6ef22046bd2934254cd8 Mon Sep 17 00:00:00 2001 From: d-plaindoux Date: Sat, 2 Nov 2024 10:26:23 +0100 Subject: [PATCH] License --- License | 2 +- README.md | 2 +- src/core/functions.rs | 8 ++++---- src/core/hkp.rs | 2 +- src/core/mod.rs | 2 +- src/core/morphism.rs | 2 +- src/core/transform.rs | 2 +- src/lib.rs | 2 +- src/specs/applicative.rs | 2 +- src/specs/bind.rs | 2 +- src/specs/category.rs | 2 +- src/specs/functor.rs | 2 +- src/specs/identity.rs | 2 +- src/specs/mod.rs | 2 +- src/specs/monad.rs | 2 +- src/specs/monoid.rs | 2 +- src/specs/semigroup.rs | 2 +- src/specs/semigroupoid.rs | 2 +- src/standard/either.rs | 2 +- src/standard/identity.rs | 2 +- src/standard/mod.rs | 2 +- src/standard/option.rs | 2 +- src/standard/reader_t.rs | 2 +- src/standard/result.rs | 2 +- src/standard/vec.rs | 2 +- src/standard/writer_t.rs | 2 +- tests/test_applicative.rs | 2 +- tests/test_bind.rs | 2 +- tests/test_functor.rs | 2 +- tests/test_monad.rs | 2 +- 30 files changed, 33 insertions(+), 33 deletions(-) diff --git a/License b/License index fc561e2..1ae71ab 100644 --- a/License +++ b/License @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 Didier Plaindoux +Copyright (c) 2023-2024 Didier Plaindoux Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 48bfbec..580cb0a 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ idea behind this word. ``` MIT License -Copyright (c) 2023 Didier Plaindoux +Copyright (c) 2023-2024 Didier Plaindoux Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/core/functions.rs b/src/core/functions.rs index 85eeb7a..98cde06 100644 --- a/src/core/functions.rs +++ b/src/core/functions.rs @@ -1,13 +1,13 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ -pub fn uncurry<'a, A, B, C, F, G>(f: F) -> impl Fn(A, B) -> C + 'a +pub fn uncurry<'a, A, B, C, F, G>(f: F) -> impl FnOnce(A, B) -> C + 'a where - F: Fn(A) -> G + 'a, - G: Fn(B) -> C, + F: FnOnce(A) -> G + 'a, + G: FnOnce(B) -> C, { move |a, b| f(a)(b) } diff --git a/src/core/hkp.rs b/src/core/hkp.rs index 11d03d3..f9a35fa 100644 --- a/src/core/hkp.rs +++ b/src/core/hkp.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ pub trait HKP<'a> { diff --git a/src/core/mod.rs b/src/core/mod.rs index f605d76..f272c23 100644 --- a/src/core/mod.rs +++ b/src/core/mod.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ pub mod functions; diff --git a/src/core/morphism.rs b/src/core/morphism.rs index 5ed410e..851bf21 100644 --- a/src/core/morphism.rs +++ b/src/core/morphism.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ pub trait Morphism { diff --git a/src/core/transform.rs b/src/core/transform.rs index 941e5d3..5ae1247 100644 --- a/src/core/transform.rs +++ b/src/core/transform.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ use crate::core::hkp::HKP; diff --git a/src/lib.rs b/src/lib.rs index 8bf1a56..6271f2b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ pub mod core; diff --git a/src/specs/applicative.rs b/src/specs/applicative.rs index 6e04dc1..a6eb81c 100644 --- a/src/specs/applicative.rs +++ b/src/specs/applicative.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ use crate::specs::functor::Functor; diff --git a/src/specs/bind.rs b/src/specs/bind.rs index 44f1a93..54d1438 100644 --- a/src/specs/bind.rs +++ b/src/specs/bind.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ use crate::specs::applicative::Applicative; diff --git a/src/specs/category.rs b/src/specs/category.rs index afaa4c2..5acb409 100644 --- a/src/specs/category.rs +++ b/src/specs/category.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ use crate::specs::identity::Identity; diff --git a/src/specs/functor.rs b/src/specs/functor.rs index 80cff6f..78b4930 100644 --- a/src/specs/functor.rs +++ b/src/specs/functor.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ use crate::core::hkp::HKP; diff --git a/src/specs/identity.rs b/src/specs/identity.rs index 5f4b8c9..14317dd 100644 --- a/src/specs/identity.rs +++ b/src/specs/identity.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ use crate::core::morphism::Morphism; diff --git a/src/specs/mod.rs b/src/specs/mod.rs index 5eda1bf..d05c8b5 100644 --- a/src/specs/mod.rs +++ b/src/specs/mod.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ pub mod applicative; diff --git a/src/specs/monad.rs b/src/specs/monad.rs index 338333f..2ca3aa4 100644 --- a/src/specs/monad.rs +++ b/src/specs/monad.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ use crate::specs::bind::Bind; diff --git a/src/specs/monoid.rs b/src/specs/monoid.rs index 20cedd1..61f6a8b 100644 --- a/src/specs/monoid.rs +++ b/src/specs/monoid.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ use crate::specs::semigroup::Semigroup; diff --git a/src/specs/semigroup.rs b/src/specs/semigroup.rs index e9f8e56..8685454 100644 --- a/src/specs/semigroup.rs +++ b/src/specs/semigroup.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ pub trait Semigroup { diff --git a/src/specs/semigroupoid.rs b/src/specs/semigroupoid.rs index e582fd7..2a013d4 100644 --- a/src/specs/semigroupoid.rs +++ b/src/specs/semigroupoid.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ use crate::core::morphism::Morphism; diff --git a/src/standard/either.rs b/src/standard/either.rs index 5eb375c..18fa673 100644 --- a/src/standard/either.rs +++ b/src/standard/either.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ use std::marker::PhantomData; diff --git a/src/standard/identity.rs b/src/standard/identity.rs index fecbea9..66275d0 100644 --- a/src/standard/identity.rs +++ b/src/standard/identity.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ use crate::core::hkp::HKP; diff --git a/src/standard/mod.rs b/src/standard/mod.rs index 12896d1..987fbd2 100644 --- a/src/standard/mod.rs +++ b/src/standard/mod.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ pub mod either; diff --git a/src/standard/option.rs b/src/standard/option.rs index cddafb3..db94458 100644 --- a/src/standard/option.rs +++ b/src/standard/option.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ use crate::core::hkp::HKP; diff --git a/src/standard/reader_t.rs b/src/standard/reader_t.rs index 5c61d4a..9363059 100644 --- a/src/standard/reader_t.rs +++ b/src/standard/reader_t.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ use crate::core::hkp::HKP; diff --git a/src/standard/result.rs b/src/standard/result.rs index 2358f51..2b31b67 100644 --- a/src/standard/result.rs +++ b/src/standard/result.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ use std::marker::PhantomData; diff --git a/src/standard/vec.rs b/src/standard/vec.rs index acf6da2..c8c7d81 100644 --- a/src/standard/vec.rs +++ b/src/standard/vec.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ use crate::core::hkp::HKP; diff --git a/src/standard/writer_t.rs b/src/standard/writer_t.rs index 0ea24b6..512b681 100644 --- a/src/standard/writer_t.rs +++ b/src/standard/writer_t.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ use crate::core::hkp::HKP; diff --git a/tests/test_applicative.rs b/tests/test_applicative.rs index 6729eb1..6bc9321 100644 --- a/tests/test_applicative.rs +++ b/tests/test_applicative.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ #[cfg(test)] diff --git a/tests/test_bind.rs b/tests/test_bind.rs index 5301935..5907bd7 100644 --- a/tests/test_bind.rs +++ b/tests/test_bind.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ #[cfg(test)] diff --git a/tests/test_functor.rs b/tests/test_functor.rs index 64c91f6..0555686 100644 --- a/tests/test_functor.rs +++ b/tests/test_functor.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ #[cfg(test)] diff --git a/tests/test_monad.rs b/tests/test_monad.rs index 629cf5e..54aab3c 100644 --- a/tests/test_monad.rs +++ b/tests/test_monad.rs @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2023 Didier Plaindoux + * Copyright (c) 2023-2024 Didier Plaindoux */ #[cfg(test)]