Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Make Commutativity settings a case object #448

Merged
merged 7 commits into from Feb 12, 2014
Merged
Changes from all commits
Commits
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
Expand Up @@ -21,8 +21,8 @@ import java.io.Serializable
// TODO: this functionality should be in algebird:
// https://github.com/twitter/algebird/issues/128
sealed trait Commutativity extends Serializable
object NonCommutative extends Commutativity
object Commutative extends Commutativity
case object NonCommutative extends Commutativity
case object Commutative extends Commutativity

/** A readable way to specify commutivity in a way
* that works with the Class-based Options system.
Expand Down