@SafeVarargs
    private final <T> List<Optional<T>> optional(T... list) {
        return Seq.of(list).map(Optional::ofNullable).toList();
    }
@author Lukas Eder
@author Roman Tkalenko
jOOL/src/test/java/org/jooq/lambda/SeqTest.java