[racket] starting a small guide on programmatic scribble usage

2012-09-08 Thread Danny Yoo
The beginnings of a draft: http://hashcollision.org/tmp/using-scribble-programmatically/using-scribble-programmatically.html Basically, it's some quick-and-dirty notes I'm keeping to myself as I get prepared to correct the kludgy build script I used to generate Scribble documents during the

Re: [racket] DrRacket 5.1.3 on Ubuntu 12.04?

2012-09-08 Thread Jon Rafkind
If you install from the PPA you will get the latest stable version: https://launchpad.net/~plt/+archive/racket On 09/08/2012 01:37 PM, Danny Heap wrote: > I invoked > > sudo apt-get install racket > > ... on a Ubuntu 12.04 machine, and the version

[racket] DrRacket 5.1.3 on Ubuntu 12.04?

2012-09-08 Thread Danny Heap
I invoked sudo apt-get install racket ... on a Ubuntu 12.04 machine, and the version was unexpected: 5.1.3. Also, I had to install libjpeg62 separately before DrRacket would work. -- Danny Heap BA4270 416-978-5899 h...@cs.utoronto.ca http://www.cs.utoronto.ca/~heap __

Re: [racket] [plt-edu-talk] Does a Scheme procedure "return" a value?

2012-09-08 Thread Shriram Krishnamurthi
I concur w/ Joe that there's something to be said for using "returns" since you're presumably writing documentation that you want non-Racketeer to read and immediately understand -- your goal here (presumably) isn't to be pedantic. This is in contrast to a programming or programming languages cour

Re: [racket] [plt-edu-talk] Does a Scheme procedure "return" a value?

2012-09-08 Thread Joe Marshall
On Sep 8, 2012 8:19 AM, "Richard Cleis" wrote: > > I am writing documentation. What are acceptable words for the following brackets? > > The function f [what verbs are ok?] Takes, accepts, > a name, then [what about here?] a phone number. Computes, evaluates to, reduces to, (Or even "returns",

Re: [racket] [plt-edu-talk] Does a Scheme procedure "return" a value?

2012-09-08 Thread Shriram Krishnamurthi
The function phone-directory consumes a name, then produces/computes a phone number. On Sat, Sep 8, 2012 at 11:26 AM, Richard Cleis wrote: > I am writing documentation. What are acceptable words for the following > brackets? > > The function f [what verbs are ok?] a name, then [what about here?]

Re: [racket] [plt-edu-talk] Does a Scheme procedure "return" a value?

2012-09-08 Thread Richard Cleis
I am writing documentation. What are acceptable words for the following brackets? The function f [what verbs are ok?] a name, then [what about here?] a phone number. rac On Sep 8, 2012, at 9:07 AM, Joe Marshall wrote: > A Scheme procedure might return a value, or it might delegate to anothe

[racket] scribbling a stand-alone scribble/lp file

2012-09-08 Thread Shriram Krishnamurthi
It also appears that one cannot scribble a stand-alone scribble/lp file: it produces dynamic-require: name is not provided name: 'doc ... (This, for instance, is scribbling the very example in http://docs.racket-lang.org/scribble/lp.html .) But scribbling the wrapper seems to work fine. If tr

Re: [racket] [plt-edu-talk] Does a Scheme procedure "return" a value?

2012-09-08 Thread Joe Marshall
A Scheme procedure might return a value, or it might delegate to another procedure (via tail recursion). This is a key point: languages without tail recursion cannot delegate to another procedure. They can do a limited simulation of delegation by chaining the returns, but this adds an O(n) space o

[racket] scribble/lp issues

2012-09-08 Thread Shriram Krishnamurthi
I'm trying to start using scribble/lp and ran into some issues. 1. When I switch a buffer from scribble/base to scribble/lp, if I have no chunks I get an error. Why is this? It certainly isn't needed for typesetting; for assembling code during execution, when there are no chunk's why isn't it eq