alex-hhh / data-frame

A data frame implementation for Racket
https://alex-hhh.github.io/2018/08/racket-data-frame-package.html
Other
37 stars 10 forks source link

Recent changes break the sawzall package #15

Open samth opened 1 year ago

samth commented 1 year ago

The recent commit 638313fe020ab5cfda5b464f86fdf570543bf74f, which removed various deprecated functions, broke the sawzall package and things that depend on it (see http://web.archive.org/web/20230411153024/https://pkg-build.racket-lang.org/server/built/fail/graphite.txt).

I can get that package fixed, but it might have broken other things as well.

alex-hhh commented 1 year ago

Thanks for letting me know about this, I reverted the changes that removed these deprecated functions.

Is there a way to mark a function as deprecated, such that a warning is displayed to the user when they call the function?

samth commented 1 year ago

There is not a built-in way of doing that. You could do something like call log-warning when the function is called, but that is not usually seen.