Skip to content

Conversation

@xuwei-k
Copy link
Member

@xuwei-k xuwei-k commented Jun 20, 2013

No description provided.

Copy link
Contributor

Choose a reason for hiding this comment

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

Please reintroduce the old names and deprecate them.

Copy link
Member Author

Choose a reason for hiding this comment

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

which one is better

@deprecated("use ApplySemigroup", "7.1")
type ApplicativeSemigroup[F[_], M] = ApplySemigroup[F, M]

or

@deprecated("use ApplySemigroup", "7.1")
trait ApplicativeSemigroup[F[_], M] extends Semigroup[F[M]] {
 // old implementation
}

? or another?

Copy link
Contributor

Choose a reason for hiding this comment

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

The latter is alright. It will lead to code duplication for now, but the old implementation can be removed in 7.2.

(Just to be sure: The changes for liftSemigroup can obviously stay as they are because they don't break source compatibility.)

Copy link
Member Author

Choose a reason for hiding this comment

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

@larsrh
Copy link
Contributor

larsrh commented Jun 22, 2013

👍

larsrh added a commit that referenced this pull request Jun 22, 2013
relax constraint. s/ApplicativeSemigroup/ApplySemigroup
@larsrh larsrh merged commit 4e626aa into scalaz:scalaz-seven Jun 22, 2013
@xuwei-k xuwei-k deleted the request/apply-semigroup branch June 22, 2013 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants