*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!*
*
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
> 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
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
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
[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
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
вторник, 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
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
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?
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 -
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)))
>
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
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
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
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,
16 matches
Mail list logo