[racket-users] Re: How to work on a package from a released version of Racket?

2017-04-09 Thread Dupéron Georges
I hope that there's a better way, however what I ended up doing was this: 1) Install a "Minimal Racket" from http://download.racket-lang.org/releases/6.8/ (scroll down a bit to see these versions). 2) cd path/to/my-clone-of-plot/; raco pkg install 3) raco pkg install main-distribution If you

Re: [racket-users] Re: How to work on a package from a released version of Racket?

2017-04-09 Thread Dupéron Georges
I thought raco pkg update was unable to turn a catalog-package into a locally-installed package, but I might have tried it at the time within the directory itself, instead of cd-ing one level up like you said. Thanks for the tip! -- You received this message because you are subscribed to the

[racket-users] What precisely is the type/contract ‘TST’ ?

2017-04-09 Thread gfb
It appears, e.g., in: (send a-drracket:rep:text display-results results) → void? results : (list-of TST) A search of all racket files shows it used at times for values to be displayed, but I can't find a definition of the term, nor just what it's [presumably] an acronym or abbreviation

Re: [racket-users] How to work on a package from a released version of Racket?

2017-04-09 Thread Matthew Flatt
I see the same behavior as you with the v6.8 release. The problem is related to cross-compilation and path conventions. A cross-compiled build (such as the Windows distribution) starts with an "info-cache.rktd" that has paths in Unix format instead of Windows format, and `raco setup` (as run by

Re: [racket-users] Re: How to work on a package from a released version of Racket?

2017-04-09 Thread Matthew Flatt
At Sun, 9 Apr 2017 04:48:18 -0700 (PDT), Dupéron Georges wrote: > I hope that there's a better way, however what I ended up doing was this: > > 1) Install a "Minimal Racket" from > http://download.racket-lang.org/releases/6.8/ (scroll down a bit to see these > versions). > > 2) cd

[racket-users] Re: Algol

2017-04-09 Thread Dupéron Georges
As you say, it works with "#lang algol60", but I can't find "Algol60" in the language selection dialog on DrRacket 6.9.0.1, only R5RS, "Pretty big Scheme" and "ProfessorJ" (which I installed manually). Which version are you using? Which version were you using when it used to work?This may help

Re: [racket-users] Re: How to work on a package from a released version of Racket?

2017-04-09 Thread Matthew Flatt
At Sun, 9 Apr 2017 19:12:09 +0200, Dupéron Georges wrote: > I thought raco pkg update was unable to turn a catalog-package into a > locally-installed package, but I might have tried it at the time > within the directory itself, instead of cd-ing one level up like you > said. a problem with using

[racket-users] Re: Algol

2017-04-09 Thread George Neuner
On Sun, 9 Apr 2017 06:23:27 -0700 (PDT), Dupéron Georges wrote: >As you say, it works with "#lang algol60", but I can't find >"Algol60" in the language selection dialog on DrRacket 6.9.0.1, >only R5RS, "Pretty big Scheme" and "ProfessorJ" (which I >installed

Re: [racket-users] What precisely is the type/contract ‘TST’ ?

2017-04-09 Thread Jay McCarthy
It is legacy. Modern code would just write any/c or list? Jay On Sun, Apr 9, 2017 at 2:51 PM, gfb wrote: > Is it legacy, or is there a current reason/heuristic to choose it over > ‘any/c’ ? > > On Sunday, 9 April 2017 14:14:29 UTC-4, Jay McCarthy wrote: >> TST means The

Re: [racket-users] Announcing Leibniz, a new language in the Racket universe

2017-04-09 Thread Shriram Krishnamurthi
Agreed w/ John. I tried reading the Scribble files in the examples directory but my eyes started to bug out a bit. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: [racket-users] How to work on a package from a released version of Racket?

2017-04-09 Thread Alex Harsanyi
On Monday, April 10, 2017 at 10:06:35 AM UTC+8, Alex Harsanyi wrote: > > Unfortunately, the above command has resulted only in the plot package being > linked to the repository: > > $ raco pkg show -l > Installation-wide: > Package Checksum

Re: [racket-users] What precisely is the type/contract ‘TST’ ?

2017-04-09 Thread Robby Findler
Indeed, these docs were written a long time ago. also, (listof any/c) is the same thing as list? in the contract system. Robby On Sun, Apr 9, 2017 at 3:08 PM, Jay McCarthy wrote: > It is legacy. Modern code would just write any/c or list? > > Jay > > On Sun, Apr 9,

[racket-users] Keyboard and Image movement

2017-04-09 Thread bsdm
Hey everyone, I"m new to the racket language and was wondering if anyone can help me explain keyboard movement for an image I'm using for a game I'm trying to make. And yes I know there's a documentation page for it, but I'm having trouble figuring out the correct syntax to go about it.

Re: [racket-users] What is meant to be the public API of ‘drracket:rep:text<%>’ ?

2017-04-09 Thread Daniel Feltey
I think the intention of the docs is that `drracket:rep:text<%>` is the interface for all of the methods listed under the `drracket:rep:text%` class. It looks like at the very least it extends the `racket:text<%>` interface, this is likely just an oversight in the documentation. Dan On Sun, Apr

Re: [racket-users] Announcing Leibniz, a new language in the Racket universe

2017-04-09 Thread 'John Clements' via Racket Users
> On Apr 7, 2017, at 08:33, Konrad Hinsen wrote: > > Now available for your friendly Racket installation: Leibniz, a digital > scientific notation > > What's a digital scientific notation? For those who come from a programming > language background, it's a

Re: [racket-users] Keyboard and Image movement

2017-04-09 Thread 'John Clements' via Racket Users
> On Apr 9, 2017, at 15:14, bsdm wrote: > > Hey everyone, I"m new to the racket language and was wondering if anyone can > help me explain keyboard movement for an image I'm using for a game I'm > trying to make. And yes I know there's a documentation page for it, but

Re: [racket-users] What is meant to be the public API of ‘drracket:rep:text<%>’ ?

2017-04-09 Thread gfb
Ok, for reference, in ‘share/pkgs/drracket/drracket/private/rep.rkt’ it extends: (class->interface text%) text:ports<%> editor:file<%> racket:text<%> color:text<%> Of the methods it adds to that, the ones not documented under ‘drracket:rep:text%’ are: copy-next-previous-expr

[racket-users] Readers' understanding of the intent of “Quick: An Introduction [...]” and the HtDP2e “Prologue: [...]”.

2017-04-09 Thread gfb
The short summary of this post is: should/could something be added to clarify the purpose of those materials and reassure newcomers who read them. “Quick: An Introduction to Racket with Pictures”, and HtDP2e “Prologue: How to Program”, are both very nice introductions in the sense of “making

[racket-users] The 2nd Summit oN Advances in Programming Languages- SNAPL '17

2017-04-09 Thread Shriram Krishnamurthi
Come hear, discuss and debate exciting advances, insights and visionary ideas in the PL world. A full list of accepted papers can be found at http://snapl.org/2017/papers.html . The event is at Asilomar, near Monterey, CA, from May 7-10. Space is limited! The Summit oN Advances in Programming

Re: [racket-users] Keyboard and Image movement

2017-04-09 Thread Matthias Felleisen
> On Apr 9, 2017, at 7:27 PM, 'John Clements' via Racket Users > wrote: > > >> On Apr 9, 2017, at 15:14, bsdm wrote: >> >> Hey everyone, I"m new to the racket language and was wondering if anyone can >> help me explain keyboard

Re: [racket-users] How to work on a package from a released version of Racket?

2017-04-09 Thread Alex Harsanyi
On Sunday, April 9, 2017 at 10:52:48 PM UTC+8, Matthew Flatt wrote: > > Meanwhile, I expect that you can repair the installation by deleting > "share/info-cache.rktd" and running `raco setup`. Alternatively, the > snapshot from Utah at > > http://www.cs.utah.edu/plt/snapshots/ > > should also

Re: [racket-users] What precisely is the type/contract ‘TST’ ?

2017-04-09 Thread Jay McCarthy
TST means The Scheme Type, i.e. everything is permitted. Jay On Sun, Apr 9, 2017 at 1:02 PM gfb wrote: > It appears, e.g., in: > > (send a-drracket:rep:text display-results results) → void? > results : (list-of TST) > > A search of all racket files shows it used at

Re: [racket-users] What precisely is the type/contract ‘TST’ ?

2017-04-09 Thread gfb
Is it legacy, or is there a current reason/heuristic to choose it over ‘any/c’ ? On Sunday, 9 April 2017 14:14:29 UTC-4, Jay McCarthy wrote: > TST means The Scheme Type, i.e. everything is permitted.  > > > Jay > > > > On Sun, Apr 9, 2017 at 1:02 PM gfb wrote: > It

[racket-users] What is meant to be the public API of ‘drracket:rep:text<%>’ ?

2017-04-09 Thread gfb
The docs for ‘drracket:rep:text<%>’ just say it's an interface, without listing any interfaces it extends, nor methods it contains. Is there a public API it's meant to have and have documented? -- You received this message because you are subscribed to the Google Groups "Racket Users" group.