Ok, the magic bit I need is to take advantage of o...
# dotnet
s
Ok, the magic bit I need is to take advantage of one of these (there are several):
Copy code
public static implicit operator InputList<T>(Output<IEnumerable<T>> values)
            => values.Apply(a => ImmutableArray.CreateRange(a));
asking the question got me closer...
This gives me the following in F#
Copy code
let inputListFromSeq<'a> (values: Output<seq<'a>>) =
        values
        |>  Outputs.apply System.Collections.Immutable.ImmutableArray.CreateRange
        |>  InputList<'a>.op_Implicit
Naming is a bit meh but it achieves the desired result for me.