This proposal is not longer active. Context: https://twitter.com/siddharthkp/status/909818777314902016
package object mail { | |
implicit def stringToSeq(single: String): Seq[String] = Seq(single) | |
implicit def liftToOption[T](t: T): Option[T] = Some(t) | |
sealed abstract class MailType | |
case object Plain extends MailType | |
case object Rich extends MailType | |
case object MultiPart extends MailType |
This proposal is not longer active. Context: https://twitter.com/siddharthkp/status/909818777314902016