struct Chemystal::Molecule

Overview

A Molecule is a labeled value, it is similar to a typed message in message passing paradigms

Defined in:

chemystal/molecule.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, value : MoleculeValue) #

[View source]

Instance Method Detail

def name : String #

[View source]
def value : Array(JSON::Any) | Bool | Float64 | Hash(String, JSON::Any) | Int64 | String | Nil #

[View source]