News for hackers. Stuff that matters.
Re:GADTs for Dummies by anmolsahoo25 on Tuesday May 18, 2021 @11:28PM (#27204203)
OCaml already does. Some good examples -

JSON GADT : https://github.com/OCamlPro/ocplib-json-typed/blob/0d9e9cde7...

Mirage/repr, uses GADT's for representing OCaml types as runtime values which are used for implementing dynamic polymorphism - https://github.com/mirage/repr/blob/main/src/repr/type.ml

Re:GADTs for Dummies by whateveracct on Wednesday May 19, 2021 @11:43AM (#27210228)
I count OCaml as "mainstream" as Haskell ;) it's one of the good ones