[racket] Need some help with planet package
Thank you so much Vincent .. it worked.
Regards,
Kashyap
On Mon, Nov 17, 2014 at 9:56 PM, Vincent St-Amour <stamourv at ccs.neu.edu>
wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20141117/8ce2fdf2/attachment.html>