scalars with validations, scala-js, error propagation, Var like.