Skip to content

Commit

Permalink
Deprecate Const & Eval (#2921)
Browse files Browse the repository at this point in the history
  • Loading branch information
nomisRev authored Feb 8, 2023
1 parent 8a2522e commit bb059e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package arrow.core

import arrow.typeclasses.Semigroup

@Deprecated("Const is deprecated in Arrow Core and will be removed in 2.x.x. \n If Const is crucial for you, please let us know on the Arrow Github. Thanks!\n" + " https://github.com/arrow-kt/arrow/issues\n")
public data class Const<A, out T>(private val value: A) {

@Suppress("UNCHECKED_CAST")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ import kotlin.jvm.JvmStatic
* <!--- KNIT example-eval-01.kt -->
*
*/
@Deprecated("Eval is deprecated in Arrow Core and will be removed in 2.x.x. \n If Eval is crucial for you, please let us know on the Arrow Github. Thanks!\n" + " https://github.com/arrow-kt/arrow/issues\n")
public sealed class Eval<out A> {

public companion object {
Expand Down

0 comments on commit bb059e7

Please sign in to comment.