toOptional(): Optional<B> {
        return this.self.isRight ? Optional.apply(<B>this.self.value) : None;
    }