Re: [racket-users] finding the package that a function is defined in

2019-04-26 Thread Tim Meehan
Right under my nose, thank you. On Fri, Apr 26, 2019 at 4:25 PM Ben Greenman wrote: > I normally: > - search the docs, > - find the identifier in the left column, > - and read the libraries from the right column > > https://docs.racket-lang.org/search/index.html?q=contract-out > -- You

Re: [racket-users] finding the package that a function is defined in

2019-04-26 Thread Ben Greenman
I normally: - search the docs, - find the identifier in the left column, - and read the libraries from the right column https://docs.racket-lang.org/search/index.html?q=contract-out -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To

[racket-users] finding the package that a function is defined in

2019-04-26 Thread Tim Meehan
I'm certain that this was recently answered on this group, but I can't seem to find it. For instance, if I am using #lang racket/base, how would I figure out that I need "racket/contract"? (my current solution is "grep" or Google ... but I was hoping for a more elegant solution). #lang

Re: [racket-users] Re: Online IDE’s for Racket ?

2019-04-26 Thread Stephen De Gabrielle
Yes - WeScheme is awesome - and so is http://pasterack.org Suggestion: upvote racket on repl.it so you can run it from everywhere: https://repl.it/language-requests/p/racket (I know it is unlikely to be as good as the full DrRacket or racket-mode experience) S. On Wed, 24 Apr 2019 at 19:58,

Re: [racket-users] 2htdp/image: Alpha blending

2019-04-26 Thread Robby Findler
My guess is that the GUI system under 2htdp/image remembered the color was drawn with an alpha value of 100 but there isn't enough resolution to determine the difference between 50 and 48 when you are at 101/256 (or whatever the alpha as a percentage really would be ...). Robby On Fri, Apr 26,

[racket-users] 2htdp/image: Alpha blending

2019-04-26 Thread Jordan Johnson
Hi all, The docs for image->color-list say: > The list of colors is obtained by drawing the image on a white background and > then reading off the colors of the pixels that were drawn. According to that description, if I evaluate... > (first (image->color-list (square 2 'solid (make-color

Re: [racket-users] From HtDP to Racket

2019-04-26 Thread Gustavo Massaccesi
There is a TOC at the beginning of the post, but I'd add a link to the next post at the end. Something like: "Next article in the series: From HtDP to Racket. Racket (2): only-in, rackunit, test submodules" I'd put one at the very end and other just before the code. Gustavo PS: As other user