[racket] Need some help with planet package
PLaneT packages work a bit differently than those from the new package
system.
The easiest way to do it would be to put
(require (planet clements/midi:1:0))
in your program. The first time you run it, it will install the package
for you.
This package's page, however, says that this version of the package is
deprecated in favor of a new version, available from the new package
catalog. To install that one instead, use
raco pkg install midi-readwrite
then add this require to your program
(require midi-readwrite)
Vincent
At Sat, 15 Nov 2014 10:54:34 +0530,
C K Kashyap wrote:
>
> Hi,
> I am trying to use midi.rkt from
> http://planet.racket-lang.org/package-source/clements/midi.plt/1/0/midi-read.rkt.
> I did the following -
>
> 1. sudo raco planet url clements midi.plt 1 1
> 2. curl -O url (the url I got form the step 1)
> 3. I renamed the downloaded file to midi.plt
> 4. sudo raco planet fileinject midi midi.plt 1 1
>
> After this I could see the package listed when I did raco planet show.
>
> However I have no clue wrt the "require" I need to do in my racket file.
>
> Regards,
> Kashyap
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users