A Compilation is just a mapping of String -> Compilation.Contract. We define this as a type
definition, in the package object (package.scala), rather than as a separate file, because Scala does not
permit top-level type declarations, they must be in a class, trait, or object (but package
objects are fine.
A Compilation is just a mapping of String -> Compilation.Contract. We define this as a type definition, in the package object (package.scala), rather than as a separate file, because Scala does not permit top-level type declarations, they must be in a class, trait, or object (but package objects are fine.