Slide 26
Slide 26 text
The easy part - syntactic replacement
Generics ( 8d178516 )
<([^<>,:]*)(? to \[$1\]
<([^<>,:]*), ?([^<>,:]*)(? to \[$1, $2\]
<([^<>,:]*) ?: ? ([^<>,:]*)> to \[$1 <: $2\]
-> to =>
- reverseAccumulator: List = listOf()): Option, List>> {
+ reverseAccumulator: List[Any] = listOf()): Option[Pair[List[Any], List[String]]] {
-private tailrec suspend def
- parse(parsers: List<(String) -> ResponseEffectOrResult>,
+private tailrec suspend def [CS <: CommandSender]
+ parse(parsers: List[(String) => ResponseEffectOrResult[CS, Any]],