Constructs a Validation holding a Success value.
forall a, b: (b) => Validation a b
const Validation = require('folktale/validation'); Validation.of(1); // ==> Validation.Success(1)
of(value) { return Success(value); }
Example: