Remove Format trait
parent
7ccdeb70a3
commit
9d9ab59049
|
@ -1,9 +0,0 @@
|
|||
package lila.chess
|
||||
package format
|
||||
|
||||
trait Format[A] {
|
||||
|
||||
def <<(str: String): A
|
||||
|
||||
def >>(obj: A): String
|
||||
}
|
|
@ -13,7 +13,7 @@ import Pos.posAt
|
|||
* P PPP
|
||||
* RN K R
|
||||
*/
|
||||
object Visual extends Format[Board] {
|
||||
object Visual {
|
||||
|
||||
def <<(source: String): Board = {
|
||||
val lines = source.lines.toList
|
||||
|
|
Loading…
Reference in New Issue