20 lines
380 B
Scala
20 lines
380 B
Scala
import data._
|
|
|
|
/**
|
|
* Implicit conversions
|
|
*/
|
|
package object conversions {
|
|
|
|
/**
|
|
* Wholesale conversion of a LispList to a Scala Seq
|
|
*/
|
|
implicit def convertToSeq[A](list: LispList[A]): Seq[A] = ???
|
|
|
|
/**
|
|
* Wholesale conversion of a LispList to a Scala List
|
|
*/
|
|
implicit def convertToList[A](list: LispList[A]): List[A] = ???
|
|
|
|
// TODO what other conversions?
|
|
}
|