I recently came across a list of codes:
type MyType = | MyType of int and internal MyInternal = | One of MyType | Two of MyType
I am not familiar with the use of "and internal" (on the third line), and I was wondering if there is any difference between using "type internal" as follows:
type MyType = | MyType of int type internal MyInternal = | One of MyType | Two of MyType
I experimented briefly with both forms, and I see no difference. Are these just two different ways to write the same thing?
source share