This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scalatags.Text.all._ | |
import collection.mutable | |
// http://flatuicolors.com/ | |
val red = "#c0392b" | |
val green = "#27ae60" | |
val yellow = "#f39c12" | |
val blue = "#2980b9" | |
val magenta = "#8e44ad" | |
val cyan = "#16a085" | |
val black = "#000" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package uk.ac.ucl.cs.GI15.timNancyKawal { | |
class Trie[V](key: Option[Char]) { | |
def this() { | |
this(None); | |
} | |
import scala.collection.Seq | |
import scala.collection.immutable.TreeMap | |
import scala.collection.immutable.WrappedString |