diff options
| author | Amir M. Saeid <amir@glgdgt.com> | 2026-02-14 19:42:49 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-14 19:42:49 +0000 |
| commit | 64e4b269c53faa70551e41c6d77ccf17ef96a68e (patch) | |
| tree | 9f1328c54f8b39ba3c29bc07426fa5a8a169249c /core/src/main | |
| parent | 00925aa276bf4215bdf1ad11651fa4084e6bc676 (diff) | |
| parent | 671fc998f1fdfe0543cba86b8c1d541ce8578f49 (diff) | |
Merge pull request #1 from codiff/improve-docs
Improve build workflows
Diffstat (limited to 'core/src/main')
| -rw-r--r-- | core/src/main/scala/com/codiff/fairstream/Fair.scala | 19 | ||||
| -rw-r--r-- | core/src/main/scala/com/codiff/fairstream/FairT.scala | 21 |
2 files changed, 38 insertions, 2 deletions
diff --git a/core/src/main/scala/com/codiff/fairstream/Fair.scala b/core/src/main/scala/com/codiff/fairstream/Fair.scala index a665c72..586e296 100644 --- a/core/src/main/scala/com/codiff/fairstream/Fair.scala +++ b/core/src/main/scala/com/codiff/fairstream/Fair.scala @@ -1,6 +1,23 @@ +/* + * Copyright 2026 codiff + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.codiff.fairstream -import cats.{Alternative, Monad} +import cats.Alternative +import cats.Monad sealed trait Fair[+A] diff --git a/core/src/main/scala/com/codiff/fairstream/FairT.scala b/core/src/main/scala/com/codiff/fairstream/FairT.scala index f77e783..6090b78 100644 --- a/core/src/main/scala/com/codiff/fairstream/FairT.scala +++ b/core/src/main/scala/com/codiff/fairstream/FairT.scala @@ -1,6 +1,25 @@ +/* + * Copyright 2026 codiff + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.codiff.fairstream -import cats.{Alternative, Applicative, Monad, ~>} +import cats.Alternative +import cats.Applicative +import cats.Monad +import cats.~> sealed trait FairE[M[_], A] |
