A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
Yes, your syntax is valid in F#, but the idiomatic and safer print approach is to define a record type instead of relying on named tuples inside a discriminated union.
type Assignment =
{ Items : StageForm list
Payload : string }
That’s typically the most F#-idiomatic solution.