You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed with @zth: We should deprecate most functions from the OCaml stdlib and point people to Belt / Js.xxx2 / a new stdlib instead where appropriate.
So basically one would have to go through all files in jscomp/stdlib-406 and decide which functions are still needed. E.g. parts of Pervasives like string_of_int, print_endline, ... can be deprecated, as well as probably all functions in Array, List, Set etc. (although Array.get is a bit of a special case).
It may be tricky though where exactly to point the user in the deprecation messsage as long as there is no new stdlib in place yet.
The text was updated successfully, but these errors were encountered:
As discussed with @zth: We should deprecate most functions from the OCaml stdlib and point people to
Belt
/Js.xxx2
/ a new stdlib instead where appropriate.So basically one would have to go through all files in
jscomp/stdlib-406
and decide which functions are still needed. E.g. parts ofPervasives
likestring_of_int
,print_endline
, ... can be deprecated, as well as probably all functions inArray
,List
,Set
etc. (althoughArray.get
is a bit of a special case).It may be tricky though where exactly to point the user in the deprecation messsage as long as there is no new stdlib in place yet.
The text was updated successfully, but these errors were encountered: