Commit graph

178 commits

Author SHA1 Message Date
Marcus
62642493e5
Update eager-inference-annotations-for-polymorphic-types.md 2025-03-07 19:41:20 +01:00
Ardi
2463447563
Update eager-inference-annotations-for-polymorphic-types.md 2025-03-07 12:00:58 -06:00
Ardi
7d20d52f3c
separate noinfer alternative for clarity 2025-03-07 11:16:52 -06:00
Ardi
8bb92ba760
Amend per-function-bindings to per-usage-bindings
It was pointed out in an external channel that this alternative was unnecessarily restrictive. The original intent was to allow flexibility for each usage of `T`.
2025-03-07 10:14:58 -06:00
Ardi
458dcb645f
fix spelling :( 2025-03-07 09:37:25 -06:00
Ardi
1fee95b001
add return statement 2025-03-07 09:03:11 -06:00
Ardi
b83c473db5
small consistency/grammar change 2025-03-07 09:01:20 -06:00
Marcus
96f8aaa3a2
Update eager-inference-annotations-for-polymorphic-types.md 2025-03-07 15:57:47 +01:00
Ardi
9fa24be227
add single char monospace 2025-03-07 08:55:08 -06:00
Ardi
cbc02bd235
general changes + rephrasing 2025-03-07 08:54:15 -06:00
Ardi
27d8c66b86
changes to alternatives 2025-03-07 08:09:12 -06:00
Marcus
c9328c7f88
Update eager-inference-annotations-for-polymorphic-types.md 2025-03-07 14:55:08 +01:00
Marcus
5308d81184
Update eager-inference-annotations-for-polymorphic-types.md 2025-03-07 14:51:48 +01:00
Ardi
b995140a1e
remove redundant "union behavior" 2025-03-07 07:50:30 -06:00
Marcus
f5c5609d77
Update eager-inference-annotations-for-polymorphic-types.md 2025-03-07 14:45:12 +01:00
Ardi
29384afb9f
add comma 2025-03-07 04:40:30 -06:00
Ardi
b47e000980
Update wording in summary
automatic instantiation -> implicit instantiation
"one type" transitioned to "first usage" for clarity
2025-03-07 02:09:09 -06:00
Ardi
b7c28004ca
add line break 2025-03-07 02:01:58 -06:00
Ardi
2ed018710c
Update eager-inference-annotations-for-polymorphic-types.md 2025-03-07 02:00:12 -06:00
Ardi
1c8d2176ca
change "inference behavior" to "instantiation behavior" in alternative 2025-03-07 01:59:30 -06:00
Ardi
1d36401b76
Punctuation Fixes 2025-03-07 01:57:33 -06:00
Ardi
1943be72c3
change "generic" to "polymorphic type" in a few places 2025-03-07 01:56:19 -06:00
Ardi
e25643f37c
change per-function-parameter to per-argument 2025-03-05 18:20:36 -06:00
Marcus
9df20a06c4
Update eager-inference-annotations-for-polymorphic-types.md 2025-03-06 00:16:44 +01:00
Ardi
8a24f5b8fa
Add .md extension 2025-03-05 17:15:11 -06:00
Ardi
8f1c0d90e0
Update "Function-parameter-bindings" alternative 2025-03-05 17:12:31 -06:00
Marcus
bf354a1d65
Update and rename monomorphic-type-bindings-for-generics.md to eager-inference-annotations-for-polymorphic-types 2025-03-05 23:51:18 +01:00
Marcus
cb82f7a111
Update monomorphic-type-bindings-for-generics.md 2025-03-05 23:33:13 +01:00
Marcus
213ec9f8d4
Create monomorphic-type-bindings-for-generics.md 2025-03-05 23:32:35 +01:00
ariel
12a39c3fdb
Relax the recursive type restriction. (#92)
* Relax the recursive type restriction.

* more alternatives

* Update description of behavior pre-restriction.
2025-03-05 11:58:59 -08:00
Alexander McCord
e78e855dc6
RFC: Negation types (#29) 2025-02-24 09:07:50 -08:00
vegorov-rbx
0280f4fbf2
Update implementation status of various RFCs (#102) 2025-02-21 09:34:56 -08:00
boyned//Kampfkarren
d9b440fbdd
RFC: Explicit type parameter instantiation (#90) 2025-02-21 08:24:39 -08:00
ffrostfall
84f9815c32
RFC: Metatable type functions (#69)
* Create metatable type functions RFC

* Add reference to metatable-type-syntax

* Turn lua into luau

Co-authored-by: ariel <aweiss@hey.com>

* Turn lua into luau

Co-authored-by: ariel <aweiss@hey.com>

* Turn lua into luau

Co-authored-by: ariel <aweiss@hey.com>

* Turn lua into luau

Co-authored-by: ariel <aweiss@hey.com>

* Turn lua into luau

Co-authored-by: ariel <aweiss@hey.com>

* Fix typeof() usage

* Specify behavior for getmetatable

* Specify 2nd argument failure case for setmetatable

* Update docs/metatable-type-functions.md

Co-authored-by: ariel <aweiss@hey.com>

* Update docs/metatable-type-functions.md

Co-authored-by: ariel <aweiss@hey.com>

* Fix wrongly sectioned failure case for setmetatable

* Update docs/metatable-type-functions.md

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>

* Update docs/metatable-type-functions.md

Co-authored-by: ariel <aweiss@hey.com>

* Specify additional failure case for setmetatable

---------

Co-authored-by: ffrostfall <80861876+ffrostflame@users.noreply.github.com>
Co-authored-by: ariel <aweiss@hey.com>
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
2025-02-04 15:59:39 -08:00
alicesaidhi
1133124f9c
Update read-only and write-only syntax (#96) 2025-01-29 07:27:09 -08:00
Varun Saini
6c47f8d595
Update old require-by-string RFCs (#68) 2025-01-24 14:29:11 -08:00
Varun Saini
8f6bee71f2
Add 'Status: Implemented' to require RFCs (#62) 2025-01-24 14:25:00 -08:00
Ketasaja
afb9f42e19
Fix table.newtype argument (#93) 2025-01-24 14:05:10 -08:00
vegorov-rbx
ff86da0e53
RFC: Support for Generic Types and Packs in User-Defined Type Functions (#85)
* RFC: Support for Generic Types and Packs in User-Defined Type Functions

* Language

* Wording improvements

* Apply suggestions from code review

Co-authored-by: ariel <aaronweiss@roblox.com>

* Note about representing packs as 'type' with a separate tag.

---------

Co-authored-by: ariel <aaronweiss@roblox.com>
2025-01-08 10:45:40 -08:00
Arseny Kapoulkine
b2326e0087
RFC: Add function math.lerp (#86)
* Add function math.lerp

* Clarify which variant the sentence is referring to.

* Some text fixes

---------

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
2025-01-07 04:29:12 -08:00
vegorov-rbx
2766e0411f
RFC: buffer.readbits/writebits (#18)
* RFC: buffer.readbits/writebits

* Note about large offset
2024-12-13 18:00:17 -08:00
Petri Häkkinen
ece0dd1c15
Add RFC for 2-component vector constructor (#74)
* Add RFC for 2-component vector constructor

* Remove implementation details
2024-12-09 11:15:39 -08:00
vegorov-rbx
5c26c39cf0
RFC: Support for thread and buffer Types in User-Defined Type Functions (#77) 2024-12-03 04:50:51 -08:00
aaron
03608c7519
move mascot.png to fix website (#61) 2024-10-21 15:31:44 -07:00
Brad Sharp
1dfbd958f9
Update CNAME 2024-10-21 15:15:38 -07:00
MagmaBurnsV
010be579d9
Add math.map to the standard library (#55)
* Add `math.map` to the standard library

* Update function-math-map.md
2024-10-16 10:35:27 -07:00
Junseo Yoo
a9f1409fcc
Fix table formatting in user-defined-type-functions.md (#59)
* Convert .md tables to .html tables

* Revert "Convert .md tables to .html tables"

This reverts commit cff9ba7827.

* Remove HTML blocks
2024-10-10 11:00:02 -07:00
Varun Saini
79c722717f
RFC: Amended Require Syntax and Resolution Semantics (#56)
* Add amended-alias-resolution.md

* Move alternatives into main design section for discussion

* Remove certain references to ../

Relative path parenting must already be done explicitly and is not up for discussion.

* Clarify that (3a) supports implicit relative paths

* Link old implementations to these approaches

* Add autocomplete details to (1c)

* Move approaches (2), (3a), (3b) to Alternatives

* Remove references to ../

* Add details about (1c) being compatible with (1a/b)

* Remove paths

* Propose approach (1c)

* Remove implicit ordering for file matching (error)

* Nit: "require statements" -> "require expressions"
2024-09-25 15:01:16 -07:00
aaron
b2cdcb7ef3
Adjust signature for properties method in user-defined type functions RFC. (#57) 2024-09-23 14:01:45 -07:00
ffrostfall
549e468c6d
RFC: Vector library (#34)
* Vector library RFC

* cut out irrelevant information

* small edits + vector(x, y, z) over vector.create

* Fix formatting

* Additional formatting

* corrections to function types + special syntax

* feedback

* Additional functions, primitive type, constants

* Update return types

* Make max and min functions clearer

* Clarify min and max functions

* Change `vector.unit` to be `vector.normalized`

* Update normalize function

* Switch norm and normalized again

* clarify vector.normalized

* small fixes

* Make the vector librarys functions align more with their math lib equivalents, and add functions that exist in the math lib that would also be useful for vectors

* Update vector-library.md

* fix typo

* remove ncg stuff, add buffer stuff

* Apply suggestions from code review

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>

* add axis to angle function

* Update vector-library.md

* Update docs/vector-library.md

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>

* Update docs/vector-library.md

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>

* Update docs/vector-library.md

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>

* Update docs/vector-library.md

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>

* Update docs/vector-library.md

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>

* Update docs/vector-library.md

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>

* Update docs/vector-library.md

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>

* Update docs/vector-library.md

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>

* Update docs/vector-library.md

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>

* Update docs/vector-library.md

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>

* Fix typo

Co-authored-by: dcope-rbx <91100513+dcope-rbx@users.noreply.github.com>

* typo fix

Co-authored-by: Varun Saini <61795485+vrn-sn@users.noreply.github.com>

* typo fix

Co-authored-by: Varun Saini <61795485+vrn-sn@users.noreply.github.com>

* Fix typo

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>

---------

Co-authored-by: ffrostfall <80861876+ffrostflame@users.noreply.github.com>
Co-authored-by: Jack <85714123+jackdotink@users.noreply.github.com>
Co-authored-by: Kalrnlo <62822174+kalrnlo@users.noreply.github.com>
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
Co-authored-by: dcope-rbx <91100513+dcope-rbx@users.noreply.github.com>
Co-authored-by: Varun Saini <61795485+vrn-sn@users.noreply.github.com>
2024-09-11 09:41:12 -07:00