Skip to content

Commit

Permalink
License
Browse files Browse the repository at this point in the history
  • Loading branch information
d-plaindoux committed Nov 2, 2024
1 parent 763461d commit fe8674a
Show file tree
Hide file tree
Showing 30 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion License
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions src/core/functions.rs
Original file line number Diff line number Diff line change
@@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/hkp.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

pub trait HKP<'a> {
Expand Down
2 changes: 1 addition & 1 deletion src/core/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

pub mod functions;
Expand Down
2 changes: 1 addition & 1 deletion src/core/morphism.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

pub trait Morphism {
Expand Down
2 changes: 1 addition & 1 deletion src/core/transform.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

use crate::core::hkp::HKP;
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

pub mod core;
Expand Down
2 changes: 1 addition & 1 deletion src/specs/applicative.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

use crate::specs::functor::Functor;
Expand Down
2 changes: 1 addition & 1 deletion src/specs/bind.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

use crate::specs::applicative::Applicative;
Expand Down
2 changes: 1 addition & 1 deletion src/specs/category.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

use crate::specs::identity::Identity;
Expand Down
2 changes: 1 addition & 1 deletion src/specs/functor.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

use crate::core::hkp::HKP;
Expand Down
2 changes: 1 addition & 1 deletion src/specs/identity.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

use crate::core::morphism::Morphism;
Expand Down
2 changes: 1 addition & 1 deletion src/specs/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

pub mod applicative;
Expand Down
2 changes: 1 addition & 1 deletion src/specs/monad.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

use crate::specs::bind::Bind;
Expand Down
2 changes: 1 addition & 1 deletion src/specs/monoid.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

use crate::specs::semigroup::Semigroup;
Expand Down
2 changes: 1 addition & 1 deletion src/specs/semigroup.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

pub trait Semigroup {
Expand Down
2 changes: 1 addition & 1 deletion src/specs/semigroupoid.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

use crate::core::morphism::Morphism;
Expand Down
2 changes: 1 addition & 1 deletion src/standard/either.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

use std::marker::PhantomData;
Expand Down
2 changes: 1 addition & 1 deletion src/standard/identity.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

use crate::core::hkp::HKP;
Expand Down
2 changes: 1 addition & 1 deletion src/standard/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

pub mod either;
Expand Down
2 changes: 1 addition & 1 deletion src/standard/option.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

use crate::core::hkp::HKP;
Expand Down
2 changes: 1 addition & 1 deletion src/standard/reader_t.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

use crate::core::hkp::HKP;
Expand Down
2 changes: 1 addition & 1 deletion src/standard/result.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

use std::marker::PhantomData;
Expand Down
2 changes: 1 addition & 1 deletion src/standard/vec.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

use crate::core::hkp::HKP;
Expand Down
2 changes: 1 addition & 1 deletion src/standard/writer_t.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

use crate::core::hkp::HKP;
Expand Down
2 changes: 1 addition & 1 deletion tests/test_applicative.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

#[cfg(test)]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_bind.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

#[cfg(test)]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_functor.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

#[cfg(test)]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_monad.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Didier Plaindoux
* Copyright (c) 2023-2024 Didier Plaindoux
*/

#[cfg(test)]
Expand Down

0 comments on commit fe8674a

Please sign in to comment.