Constructs a Result holding an Ok value.
forall a, b: (b) => Result a b
const Result = require('folktale/result'); Result.of(1); // ==> Result.Ok(1)
of(value) { return Ok(value); }
Example: