Companion

object Companion

Properties

Link copied to clipboard

The pattern a well-formed, quote-free Atom value must match. Same as Struct.WELL_FORMED_FUNCTOR_PATTERN.

Functions

Link copied to clipboard

Wraps string in single quotes, unconditionally. See Struct.enquoteFunctor.

Link copied to clipboard

Wraps string in single quotes, but only if it is not ATOM_PATTERN-well-formed.

Link copied to clipboard
fun of(value: String): Atom

Creates an Atom with the given value. Never throws, regardless of whether value is well-formed: ill-formed atoms are simply rendered quoted (see Struct.enquoteFunctorIfNecessary) when converted to String.