Don't use the old X graphics library. Use
#lang racket/gui
instead. -- Matthias
On Nov 30, 2015, at 3:51 PM, Alejandro López wrote:
> I have this code:
>
>
> #lang racket
> ;purpose
> ;Creating play noughts and crosses
>
> ;Include graphics library
> (require (lib "Graphics.ss" "graph
I have this code:
#lang racket
;purpose
;Creating play noughts and crosses
;Include graphics library
(require (lib "Graphics.ss" "graphics"))
;Open graphics library
(open-graphics)
;Create window
(define window (open-viewport "three in one" 500 500))
;background color
((draw-viewport window)
I have this code:
;purpose
;Creating play noughts and crosses
;Include graphics library
(Require (lib "Graphics.ss" "graphics"))
;Open graphics library
(Open-graphics)
;Create window
(Define window (open-viewport "three in one" 500 500))
;background color
((Draw-viewport window) "black")
;Gi
On Monday, November 30, 2015 at 1:07:32 PM UTC-5, Alex Knauth wrote:
> Maybe this would be more accurate then:
>
> #lang racket
> (define-syntax context
> (lambda (stx)
> (println (syntax-local-context))
> #'(void)))
> (context)
Great! Thank you.
--
You received this message because y
> On Nov 30, 2015, at 12:20 PM, brendan wrote:
>
> On Monday, November 30, 2015 at 10:52:05 AM UTC-5, Asumu Takikawa wrote:
>> When you use a REPL, like if you launch racket at the command-line, you are
>> using the top-level:
>>
>> Welcome to Racket v6.3.0.6.
>> -> (begin-for-syntax (display
On Monday, November 30, 2015 at 10:52:05 AM UTC-5, Asumu Takikawa wrote:
> When you use a REPL, like if you launch racket at the command-line, you are
> using the top-level:
>
> Welcome to Racket v6.3.0.6.
> -> (begin-for-syntax (displayln (syntax-local-context)))
> top-level
>
> (or if you
On 2015-11-30 02:38:41 -0800, Tim Brown wrote:
> > Pages in category "Racket"
> >
> > The following 900 pages are in this category, out of 900 total.
>
> Yay!
And Racket now has the most tasks completed:
http://rosettacode.org/wiki/RC_POP.OUT
Looking back, 2.5 years ago Racket was around 54th
On 2015-11-30 06:55:44 -0800, brendan wrote:
> But I can’t figure out how such a thing can exist,
> because Racket always insists that any definitions I write must be inside a
> module, either implicitly via #lang, or explicitly. It seems like the only
> possible top-level form is a module form. Ca
I'm sure I'm missing something obvious, but this has been bothering me... the
Reference refers in various places to top-level variables and bindings that
apparently excludes module bodies, as in section 1.2.1: "A top-level binding is
a binding from a definition at the top-level; a module binding
Thank you, Matthew.
The project itself is organized as a multi package, however there is no
need to install it.
Debug/DigiGnome ; this subpackage is the base one of the other two.
Debug/Kuzuhamon/; this one meets the second problem
Debug/sakuyamon/ ; this one meets the first problem
To quote from http://rosettacode.org/wiki/Category:Racket
> Pages in category "Racket"
>
> The following 900 pages are in this category, out of 900 total.
Yay!
First things first...
WELL DONE EVERYONE WHO’s CONTRIBUTED THIS YEAR AND IN THE PAST!
I think last time I reported was about this time
11 matches
Mail list logo