F# forward type declarations

You use ‘and’:

type firstType = 
     | T1 of secondType

and secondType =
     | T1 of firstType

Leave a Comment