This file contains hidden or 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
abstract class Atom(val isotope : Int, val charge : Int = 0) { | |
def number : Int | |
def name : String | |
def symbol : String | |
def valence : Set[Int] = Set.empty[Int] | |
} | |
trait Organic | |
object Atom { |
NewerOlder