Re: [racket-dev] Revising Racket's home page

2013-08-20 Thread Prabhakar Ragde
Eli wrote: Semi-Quick: take Prabhakar's intro (cs.uwaterloo.ca/~plragde/tyr/) and make it terse enough to fit a single (longish) page. I think that this is a fine choice for an aspiring hacker -- the only part that is missing, the advanced section, is probably the part that should at

[racket-dev] Is it possible to write `flatten' in TR?

2012-08-07 Thread Prabhakar Ragde
Neil wrote: (define (flatten lst) (cond [(list? lst) (append* ((inst map (Listof A) (Listof* A)) flatten lst))] [else (list lst)])) This version of flatten has quadratic worst-case running time. Is that an issue?

Re: [racket-dev] [racket] match and debug in Advanced Student

2011-11-09 Thread Prabhakar Ragde
On 11/8/11 11:21 PM, Jay McCarthy wrote: I'm not sure I'm the best person to debug this (despite otherwise being responsible for match in ASL.) Then are you the person I lobby to get match into ISL+? --PR _ For list-related administrative tasks:

Re: [racket-dev] racket/match is broken

2011-10-06 Thread Prabhakar Ragde
On 10/6/11 2:12 PM, Eli Barzilay wrote: Sam is talking about building the ASTs *while* matching, which is what Jay was trying to do with uses of `app'. I think that a teaching context is in particular one where such a thing doesn't fit -- it obscures the distinction between the side the sexpr g

Re: [racket-dev] racket/match is broken

2011-10-06 Thread Prabhakar Ragde
Sam wrote: Unlike, say, `syntax-parse', `match' isn't designed for the use-case of building ASTs while matching. Wait, what? That's exactly what I want to use it for when writing toy interpreters for pedagogical purposes. Or am I misunderstanding what you're saying here? I want to do PLAI-st

[racket-dev] Scribble output changes

2011-08-05 Thread Prabhakar Ragde
Matthew wrote: Latex output changed in more ways: * Table content is vertically centered by default, making it more consistent with HTML. * In a table cell, a paragraph with a `#f' style name is rendered as a single line (as before), but a width is imposed on paragraphs that have a

Re: [racket-dev] Fwd: a language example: brainfudge

2011-06-10 Thread Prabhakar Ragde
I'm starting to work on a small example of a non-lisp-like language that uses the Racket infrastructure. ?I've chosen the language Brain@#! since it's obviously not parenthetical. Why did you sanitize the name? Is this language different than brainfuck? I found this e-mail exchange hilarious,

[racket-dev] Scribble and DrRacket

2011-05-18 Thread Prabhakar Ragde
I'd love to be able to see the LaTeX and/or HTML source generated in the course of rendering Scribble source using the Render buttons in DrRacket, to help debug errors where the rendering completes but the visual output is not what I expected. Menu items of some sort? (I know I can go to a term