From 68226725c299034f8f9230f86f95b4454a30958c Mon Sep 17 00:00:00 2001 From: Junseo Yoo Date: Mon, 5 Aug 2024 13:44:47 -0700 Subject: [PATCH] Add a note about increasing the list of available globals/libraries: --- docs/user-defined-type-functions.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/user-defined-type-functions.md b/docs/user-defined-type-functions.md index 55a9186..bd81cca 100644 --- a/docs/user-defined-type-functions.md +++ b/docs/user-defined-type-functions.md @@ -55,6 +55,9 @@ For the first iteration, the body of a type function will be sandboxed, and its - utf8 library - buffer library + +Note that the list above is subject to change. We can add more globals/libraries if we / the community finds a good use case for them in type functions. + There is also a problem of infinitely running type functions. For example, reducing this type function will halt analysis until the VM stack overflows: ```luau type function neverending(t)