You use ‘and’:
type firstType =
| T1 of secondType
and secondType =
| T1 of firstType
More Related Contents:
- Overloaded inline operators in F#: ( |+| )
- What does “dyn” mean in a type?
- YAML: Do I need quotes for strings in YAML?
- Why are C# 3.0 object initializer constructor parentheses optional?
- Comments in Markdown
- What are the precise rules for when you can omit parenthesis, dots, braces, = (functions), etc.?
- What does an underscore and interface name after keyword var mean?
- How to concatenate strings in twig
- What is the RTF syntax for a hyperlink?
- What does the “@” symbol do in PowerShell?
- What’s the difference between eq, eql, equal and equalp, in Common Lisp?
- In C, what is the correct syntax for declaring pointers?
- how to reference a YAML “setting” from elsewhere in the same YAML file?
- Knockout.js containerless “foreach” not working with
- Kotlin asterisk operator before variable name or Spread Operator in Kotlin
- Use of `inline` in F#
- How to select all leaf nodes using XPath expression?
- Generate tail call opcode
- How can I split a shell command over multiple lines when using an IF statement?
- Tuple parameter declaration and assignment oddity
- History of trailing comma in programming language grammars
- Why are functions in OCaml/F# not recursive by default?
- F# generics / function overloading syntax
- What does flow {| brace pipe |} syntax do?
- How to write a function for generic numbers?
- What does the `forall` keyword in Haskell/GHC do?
- Unary minus and floating point number in OCaml
- List of Scala’s “magic” functions
- Why do some people prefer “T const&” over “const T&”?
- Is there syntax for moving fields between similar structs?