title: Which guarantees do Scala's singletons have regarding serialization?
body: <p>Is it safe by default, like Java's single-element-enum pattern or is it e. g. necessary to define <code>readResolve</code> or similar methods somewhere to prevent accidental or malicious breakage of the singleton contract?</p>