on the Quick tutorial (https://docs.racket-lang.org/quick/) there’s an example of an error message where you give the circle function two arguments. On the docs, the erro message begins like this: “circle: arity mismatch;” but on my 7.4 CS DrRacket, I get: " loc_2999: arity mismatch;". Is that to be expected, given that I’m in DrRacket whereas the docs are generated via Scribble? Or can one say that this is a bug, or perhaps a place where the error message could be improved?
It’s a bug.
I’m hunting around https://github.com/racket/drracket/issues but don’t quite see anything that sticks out. I see that you get the same behavior in the REPL (via racket -I slideshow). I guess it’s an expander issue?
That’s my guess too.
can someone on a non-CS 7.4 Racket check?
(just to narrow down the possibility that it’s a CS issue.)
here’s what you can do: racket -I slideshow —eval ’(circle 10 20)’
ok
seems to be an expander issue. I’ll file a bug report
hello. i have question - how change doc directory for scribble generated from “doc” into “public” in info.rkt? i try write (define doc-dir “public”) but no wasn’t usefull efffect
Do you want the documentation to be installed in “public” for other users too? Or do you just want to control where the result goes, when you are writing the documentation?
only for me
it need for generate html pages GitLab Pages
Then use raco scribble —dest a-path-name-here foo.scrbl You can check the other options here: https://docs.racket-lang.org/scribble/running.html?q=scribble
thanks
My DrRacket highlights with color nested s-expressions. I’m trying to remember where in preferences to change that setting, but I can’t seem to find it.
This one? Edit -> Colors -> Background -> Parenthesis color scheme Use ‘Shades of grey’ or ‘Shades of blue’
https://www.cs.indiana.edu/~dyb/pubs/inlining.pdf Recently, I read Kent Dybvig’s paper “fast and effective procedure inlining”, I have some problems. Where can I find the specific implementation of this algorithm?
I personally find that http://git.savannah.gnu.org/cgit/guile.git/tree/module/language/tree-il/peval.scm is much easier to understand, but it’s not exactly the same algorithm I think
@sorawee These are too big. Is there a implementation for the core language mentioned by Kent Dybvig’s paper.