jesse
2019-11-16 19:05:24

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?


soegaard2
2019-11-16 19:06:05

It’s a bug.


jesse
2019-11-16 19:11:46

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?


soegaard2
2019-11-16 19:12:59

That’s my guess too.


jesse
2019-11-16 19:13:56

can someone on a non-CS 7.4 Racket check?


jesse
2019-11-16 19:14:07

(just to narrow down the possibility that it’s a CS issue.)


soegaard2
2019-11-16 19:15:17

jesse
2019-11-16 19:15:23

here’s what you can do: racket -I slideshow —eval ’(circle 10 20)’


jesse
2019-11-16 19:15:30

ok


jesse
2019-11-16 19:17:35

seems to be an expander issue. I’ll file a bug report



wwall
2019-11-16 22:34:12

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


soegaard2
2019-11-16 22:37:33

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?


wwall
2019-11-16 22:38:58

only for me


wwall
2019-11-16 22:39:48

it need for generate html pages GitLab Pages


soegaard2
2019-11-16 22:40:55

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


wwall
2019-11-16 22:45:48

thanks


gknauth
2019-11-17 02:21:41

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.


shu--hung
2019-11-17 02:55:00

This one? Edit -> Colors -> Background -> Parenthesis color scheme Use ‘Shades of grey’ or ‘Shades of blue’


fkingtop
2019-11-17 04:48:23

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?



sorawee
2019-11-17 05:36:53

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


fkingtop
2019-11-17 06:09:11

@sorawee These are too big. Is there a implementation for the core language mentioned by Kent Dybvig’s paper.