[racket-users] Flat Contract Value Generator

2016-06-04 Thread Chris Bui
I'm trying to create a simple flat contract of my own and a generator for it and I really don't know where to start. The docs here: https://docs.racket-lang.org/reference/Random_generation.html aren't very useful for somebody that doesn't know at a high level what to do. Also, on this page: ht

Re: [racket-users] Case vs. Match

2016-06-04 Thread Gustavo Massaccesi
Oh! More fancy that what I expected (link https://github.com/racket/racket/blob/master/racket/collects/racket/private/case.rkt ) It separates the items by type, and to trigger most of the special cases it requires at lest 10/12 of each. Another example, with many special cases: #lang racket (sy

Re: [racket-users] Custom color lexer for DrRacket that requires lookahead

2016-06-04 Thread Robby Findler
On Mon, May 30, 2016 at 2:32 PM, Alexis King wrote: > >> On May 30, 2016, at 12:23, Alexis King wrote: >> >> Now the colorer attempts to lex the slash alone as a new token without >> attempting to re-lex “foo”. Since a forward slash is not valid at the >> beginning of an identifier, it is colored