Re: [racket-users] Should I stop sending packages to the catalog?

2020-06-20 Thread Simon Schlee
Declaring the dependencies explicitly is good in a lot of cases, but I 
guess there are cases where it is unnecessary.

If you do decide to create the uber package you can create the info.rkt, 
`raco pkg install` the package and then use `raco setup --fix-pkg-deps 
--unused-pkg-deps ` to let setup create the list of 
package dependencies.

-- 
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 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/8dc1fae7-5f7e-480d-81bf-4aee9ef69d14o%40googlegroups.com.


Re: [racket-users] Should I stop sending packages to the catalog?

2020-06-20 Thread Brian Adkins
On Saturday, June 20, 2020 at 11:35:32 AM UTC-4, Simon Schlee wrote:
>
>
> What I'd like to do is to create a personal catalog that represents the 
>> packages I currently have installed, but it doesn't appear there's a super 
>> easy `raco pkg` command to do that - I still need to research a bit.
>>
>
> raco pkg archive --help
> Create catalog from installed packages
>
> Usage:
> raco pkg archive [  ... ]   [] ...
>  where  is one of
>   --include-deps : Include dependencies of specified packages
> * --exclude  : Exclude  from new catalog
>   --relative : Make source paths relative when possible
>   --help, -h : Show this help
>   -- : Do not treat any remaining argument as a switch (at this level)
>  * Asterisks indicate options allowed multiple times.
>  Multiple single-letter switches can be combined after one `-'; for
>   example: `-h-' is the same as `-h --'
>

Yup. And then either list all the packages individually, or create an uber 
package that lists all the packages individually and archive that. Not very 
convenient, so I may look into adding a flag that creates a catalog from 
*all* of the locally installed packages.

-- 
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 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/7744719c-b7c2-4a73-9f90-3acc2ce0a0afo%40googlegroups.com.


Re: [racket-users] Should I stop sending packages to the catalog?

2020-06-20 Thread Simon Schlee


> What I'd like to do is to create a personal catalog that represents the 
> packages I currently have installed, but it doesn't appear there's a super 
> easy `raco pkg` command to do that - I still need to research a bit.
>

raco pkg archive --help
Create catalog from installed packages

Usage:
raco pkg archive [  ... ]   [] ...
 where  is one of
  --include-deps : Include dependencies of specified packages
* --exclude  : Exclude  from new catalog
  --relative : Make source paths relative when possible
  --help, -h : Show this help
  -- : Do not treat any remaining argument as a switch (at this level)
 * Asterisks indicate options allowed multiple times.
 Multiple single-letter switches can be combined after one `-'; for
  example: `-h-' is the same as `-h --'
 

-- 
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 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/1ce74a5d-ca53-42f6-a83e-666b77d4a4a1o%40googlegroups.com.


Re: [racket-users] about 《Revenge of the Son of the Li sp Machine》 Appendix

2020-06-20 Thread Matthew Flatt
At Fri, 19 Jun 2020 20:25:47 -0700 (PDT), Yuki Lee wrote:
> https://www2.ccs.neu.edu/racket/pubs/icfp99-ffkf.pdf 
>
> I have read this paper.
> I encountered a problem when I tried to run the code at the end.

Unfortunately, that code that pre-dates the current Racket module
system, so it did not keep running for very long.

Enclosed is a somewhat modernized version of the code that should run
in recent (last 15-20 years?) Racket.


Matthew

-- 
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 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/20200620054336.36c%40sirmail.smtp.cs.utah.edu.


esq.rkt
Description: Binary data