Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CU-fh306p Remove deprecated ordering #2322

Merged
merged 1 commit into from
Mar 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -170,17 +170,6 @@ data class Const<A, out T>(private val value: A) {
fun <A, T> Const<A, T>.combine(SG: Semigroup<A>, that: Const<A, T>): Const<A, T> =
Const(SG.run { this@combine.value().combine(that.value()) })

@Deprecated(
"Kind is deprecated, and will be removed in 0.13.0. Please use the ap method defined for Const instead",
ReplaceWith(
"this.zip(MA, arg1)",
"arrow.core.Const"
),
DeprecationLevel.WARNING
)
fun <A, T, U> Const<A, T>.ap(SG: Semigroup<A>, ff: Const<A, (T) -> U>): Const<A, U> =
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This slipped back in with a merge from master

retag<U>().combine(SG, ff.retag())

inline fun <A> A.const(): Const<A, Nothing> =
Const(this)

Expand Down

This file was deleted.