Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Deprecate @higherkind & @extension for Sequence/SequenceK #329

Merged
merged 41 commits into from
Feb 9, 2021
Merged
Show file tree
Hide file tree
Changes from 40 commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
1dd8dcc
Remove extension annotation for SequenceK
franciscodr Feb 1, 2021
88a5124
Add Semigroup and Monoid instances for Sequence
franciscodr Feb 1, 2021
5552a33
Deprecate extension methods of the Align instance for Sequence/SequenceK
franciscodr Feb 3, 2021
5361a0d
Deprecate extension methods of the Unalign instance for Sequence/Sequ…
franciscodr Feb 3, 2021
66773cd
Deprecate extension methods of the Zip instance for Sequence/SequenceK
franciscodr Feb 3, 2021
e7c1dff
Deprecate extension methods of the Unzip instance for Sequence/SequenceK
franciscodr Feb 3, 2021
d8d7bd9
Deprecate extension methods of the Crosswalk instance for Sequence/Se…
franciscodr Feb 3, 2021
f6bf9f3
Fixes some typos in deprecation messages
franciscodr Feb 3, 2021
4795ae1
Deprecate extension methods of the Applicative instance for Sequence/…
franciscodr Feb 4, 2021
04b42ff
Deprecate extension methods of the Alternative instance for Sequence/…
franciscodr Feb 4, 2021
9e1abe6
Deprecate extension methods of the Repeat instance for Sequence/Seque…
franciscodr Feb 4, 2021
7e6f180
Deprecate extension methods of the Foldable instance for Sequence/Seq…
franciscodr Feb 5, 2021
bf35063
Deprecate extension methods of the Functor instance for Sequence/Sequ…
franciscodr Feb 5, 2021
6315966
Deprecate extension methods of the FunctorFilter instance for Sequenc…
franciscodr Feb 5, 2021
9bbfa31
Deprecate extension methods of the Monad instance for Sequence/SequenceK
franciscodr Feb 5, 2021
92e0306
Deprecate extension methods of the MonadCombine instance for Sequence…
franciscodr Feb 5, 2021
11dbd79
Deprecate extension methods of the MonadFilter instance for Sequence/…
franciscodr Feb 5, 2021
323b3ee
Deprecate extension methods of the MonadLogic instance for Sequence/S…
franciscodr Feb 5, 2021
6458231
Deprecate extension methods of the MonadPlus instance for Sequence/Se…
franciscodr Feb 5, 2021
ea9b576
Deprecate extension methods of the Monoid instance for Sequence/Seque…
franciscodr Feb 5, 2021
3573a4f
Deprecate extension methods of the Monoidal instance for Sequence/Seq…
franciscodr Feb 5, 2021
e7b873f
Deprecate extension methods of the MonoidK instance for Sequence/Sequ…
franciscodr Feb 5, 2021
0cfe636
Deprecate extension methods of the Semialign instance for Sequence/Se…
franciscodr Feb 5, 2021
ca41dc9
Deprecate extension methods of the Semigroup instance for Sequence/Se…
franciscodr Feb 5, 2021
e99411c
Deprecate extension methods of the SemigroupK instance for Sequence/S…
franciscodr Feb 5, 2021
8d69ac4
Deprecate extension methods of the Semigroupal instance for Sequence/…
franciscodr Feb 5, 2021
2295910
Deprecate extension methods of the Traverse instance for Sequence/Seq…
franciscodr Feb 5, 2021
9ef1717
Deprecate extension methods of the Aply instance for Sequence/SequenceK
franciscodr Feb 5, 2021
44beec0
Add concrete methods to Sequence data type
franciscodr Feb 5, 2021
f7d20d0
Add deprecation message to interface instances
franciscodr Feb 5, 2021
409f2e5
Deprecate extension methods of the EqK instance for Sequence/SequenceK
franciscodr Feb 5, 2021
1d7e296
Format code
franciscodr Feb 5, 2021
b39d5ca
Remove import alias for plus
franciscodr Feb 5, 2021
4475a25
Fix documention issues when running Ank
franciscodr Feb 5, 2021
05dbca5
Update documention for Sequence
franciscodr Feb 6, 2021
8363723
Remove unit value
franciscodr Feb 6, 2021
0e7aa7a
Apply suggestions from code review
franciscodr Feb 8, 2021
0a91bce
Change deprecation message for Monoid instance
franciscodr Feb 8, 2021
b09b0d8
Deprecate Kind type for Sequence
franciscodr Feb 8, 2021
4faff0c
Merge branch 'master' into paco-deprecate-extensions-sequencek
franciscodr Feb 8, 2021
6c9d0c9
Merge branch 'master' into paco-deprecate-extensions-sequencek
franciscodr Feb 9, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion arrow-core-data/src/main/kotlin/arrow/core/NonEmptyList.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ import arrow.typeclasses.ShowDeprecation
class ForNonEmptyList private constructor() {
companion object
}
@Deprecated("Kind is deprecated, and will be removed in 0.13.0. Please use one of the provided concrete methods instead")
typealias NonEmptyListOf<A> = arrow.Kind<ForNonEmptyList, A>

@Deprecated("Kind is deprecated, and will be removed in 0.13.0. Please use one of the provided concrete methods instead")
@Suppress("UNCHECKED_CAST", "NOTHING_TO_INLINE")
@Deprecated("Kind is deprecated, and will be removed in 0.13.0. Please use one of the provided concrete methods instead")
inline fun <A> NonEmptyListOf<A>.fix(): NonEmptyList<A> =
this as NonEmptyList<A>

Expand Down