mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Update rfcs/recursive-type-unrestriction.md
Co-authored-by: Matt Hargett <plaztiksyke@gmail.com>
This commit is contained in:
parent
51e628954c
commit
57450768a1
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ but *not* recursive type functions, such as:
|
||||||
type TreeWithMap<a> = { ..., map: <b>(a -> b) -> Tree<b> }
|
type TreeWithMap<a> = { ..., map: <b>(a -> b) -> Tree<b> }
|
||||||
|
|
||||||
```
|
```
|
||||||
These examples cope up naturally in OO code bases with generic types.
|
These examples come up naturally in OO code bases with generic types.
|
||||||
|
|
||||||
## Design
|
## Design
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue