It is an internal function of the math package https://github.com/racket/math/blob/cdc64390f1e7b75de9575a91f0ec3a31f7878530/math-lib/math/private/bigfloat/mpfr.rkt#L587that is used to show bigfloats.
I can't reproduce the error in Windows, but it doesn't look like an error that is platform dependent. Are you running this in DrRacket or in the command line? Any unusual configuration? Is the code available? Can you send a minimized example? Try to remove as much as you can (including all the secret sauce if it is an internal project). Any example that shows the error would be very helpful, but if you can reduce the example to a hundred of lines it would be nice. And shorter examples are better, even if the code makes no sense. Gustavo On Sat, Jan 25, 2020 at 9:34 AM greadey <grea...@gmail.com> wrote: > Hi there, > > I am running racket 7.5 on GhostBSD 20.01, I am getting a strange error > running a file which previously ran OK on FreeBSD 12. > > ../../../../local/share/racket/collects/racket/pretty.rkt:478:8: > bigfloat-custom-write: undefined; > cannot reference an identifier before its definition. > > What I cannot understand is that big-float-custom-write is not listed in > the documentation. Does anyone have any ideas what might be causing this? > > Cheers, > > greadey > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/racket-users/37641b85-9d6b-4d29-9f35-bb35e99c5c99%40googlegroups.com > <https://groups.google.com/d/msgid/racket-users/37641b85-9d6b-4d29-9f35-bb35e99c5c99%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAPaha9M1qKcFcRh_eegRb4hyikm45Kzsm2MRRMgJCnK5xePbOA%40mail.gmail.com.