Slide 64
Slide 64 text
Implicit Conversions
• Goal:
Implicitly convert function literals to spores
• Enables more lightweight syntax
• Enables checking excluded types
• Example:
19
type SafeSpore[A, B] = Spore[A, B] {
type Excluded = SomeExcludedType
}
val s: SafeSpore[A, B] = (x: A) => { … }