[racket-users] [standard-fish] Summer competiton 2019

2019-07-30 Thread Stephen De Gabrielle
*Subject: [standard-fish] Summer competiton 2019* *'Summer standard fish competition 2019'* [image: image] Competition: Make an image with Racket this summer! Win stickers! Rules: * you can make images any way you like. I suggest *pict *or *htdp2e/image, but you can use whatever you like!* *

[racket-users] [standard-fish] Lightsabers!

2019-07-30 Thread Justin Zamora
Stephen De Gabrielle announced this a few days ago on racket-dev, so I spent my weekend embracing my inner Star Wars nerd and made lightsabers in Racket. I had never used the pict library before, so it was also an interesting learning experience. I created a lightsaber function that produces a

Re: [racket-users] Calling function with Scribble text as argument(s)

2019-07-30 Thread Ben Greenman
> Now for the next problem. If I @include-section, an occurrence of > redtext in the included section is recognised as an unbound identifier. > Evidently I need to say something to get included sections to inherit > bindings fro the main file. `include-section` is much closer to Racket's

Re: [racket-users] Calling function with Scribble text as argument(s)

2019-07-30 Thread Hendrik Boom
On Tue, Jul 30, 2019 at 08:08:39PM +0200, Jens Axel Søgaard wrote: > Den tir. 30. jul. 2019 kl. 19.02 skrev Hendrik Boom >: > > > I've found this as an example for getting coloured text: > > > > #lang scribble/base > > > > @(require scribble/core) > > > > @(define (colorize #:color c

[racket-users] [standard-fish] Reverse engineered quilt design

2019-07-30 Thread Daniel Prager
Here's a photo of the original quilt from Red Pepper Quilts (not my work): More images, including details, here: http://bastings54.rssing.com/browser.php?indx=6115008=60 And here's my reverse-engineered Racket version: [image: super-duper-HST-and-QST-quilt.png] Top-level code, below. #lang

[racket-users] [standard-fish] Lightsabers!

2019-07-30 Thread Justin Zamora
[Apologies if this gets sent twice. I accidentally sent the first one to the googlegroups email address] Stephen De Gabrielle announced this a few days ago on racket-dev, so I spent my weekend embracing my inner Star Wars nerd and made lightsabers in Racket. I had never used the pict library

[racket-users] Long-term substitute teaching post available at private school

2019-07-30 Thread Jordan Johnson
Dear Racket friends & teachers, I’m taking a semester of leave from my teaching position at Kirby School in Santa Cruz, CA, and the school is looking for a part-time sub to cover my programming class, which I teach based on HtDP. This would be one period, Mondays/Wednesdays/Fridays — usually

Re: [racket-users] Re: Racket2 possibilities

2019-07-30 Thread Atlas Atlas
вторник, 30 июля 2019 г., 4:40:40 UTC+3 пользователь Sam Tobin-Hochstadt написал: > > I'm not exactly sure what you're asking for here -- the CL type system > works very differently -- but local annotation is certainly possible > in Typed Racket. The `ann` form allows you to annotate any

[racket-users] Calling function with Scribble text as argument(s)

2019-07-30 Thread Hendrik Boom
I've found this as an example for getting coloured text: #lang scribble/base @(require scribble/core) @(define (colorize #:color c . content) (elem #:style (style #f (list (color-property c))) content)) @colorize[#:color "red"]{WARNING} But what if you

[racket-users] Re: Calling function with Scribble text as argument(s)

2019-07-30 Thread 'Joel Dueck' via Racket Users
On Tuesday, July 30, 2019 at 12:02:02 PM UTC-5, Hendrik Boom wrote: > > For example, to make a function has the colour red built in, > I tried > > @(define (redtext text) (colorize #:color "red" text)) > > which did not work. > When you say "which did not work" — what didn't work exactly?

Re: [racket-users] Re: Racket2 possibilities

2019-07-30 Thread George Neuner
Hi Sam, On 7/29/2019 9:40 PM, Sam Tobin-Hochstadt wrote: On Mon, Jul 29, 2019 at 9:31 PM George Neuner wrote: > To me, TypedRacket feels much more like ML than like Dylan or Common > Lisp. Type inference is great - when it works. Coarse grained scope > encompassing declarations are great -

Re: [racket-users] Calling function with Scribble text as argument(s)

2019-07-30 Thread Jens Axel Søgaard
Den tir. 30. jul. 2019 kl. 19.02 skrev Hendrik Boom : > I've found this as an example for getting coloured text: > > #lang scribble/base > > @(require scribble/core) > > @(define (colorize #:color c . content) > (elem #:style (style #f (list (color-property c))) >

Re: [racket-users] Re: Racket2 possibilities

2019-07-30 Thread George Neuner
On 7/30/2019 12:59 PM, Atlas Atlas wrote: вторник, 30 июля 2019 г., 4:40:40 UTC+3 пользователь Sam Tobin-Hochstadt написал: I'm not exactly sure what you're asking for here -- the CL type system works very differently -- but local annotation is certainly possible in Typed

Re: [racket-users] Re: Racket v7.3.0.900 is available for testing

2019-07-30 Thread Matthew Flatt
The latest release candidate at pre-release.racket-lang.org fixes this problem. Thanks again! At Fri, 26 Jul 2019 22:58:38 -0700 (PDT), Alex Harsanyi wrote: > I can install the windows version of Racket CS and DrRacket (and my > program) runs fine, however when I try to run "raco" I get a

Re: [racket-users] Calling function with Scribble text as argument(s)

2019-07-30 Thread Hendrik Boom
On Tue, Jul 30, 2019 at 04:04:38PM -0400, Ben Greenman wrote: > > Now for the next problem. If I @include-section, an occurrence of > > redtext in the included section is recognised as an unbound identifier. > > Evidently I need to say something to get included sections to inherit > > bindings

[racket-users] [standard-fish] map of the world

2019-07-30 Thread Alex Harsanyi
Here is a map of the world, rendered using a 40 line Racket program and country outline data from https://geojson-maps.ash.ms/. You can find the source here: https://gist.github.com/alex-hhh/2c0f5a02d9e795cbedf90cf84ef84281 [image: world.png] The program is similar to the one described here,