Re: [racket-users] How to change package name on the package index?

2020-06-05 Thread Siddhartha Kasivajhula
package. I think. We could probably change > that? > > But here's a trick: try renaming FOO to FOO-x, and then to foo. That might > work. > > > On Friday, June 5, 2020 at 5:59:03 AM UTC+2, Siddhartha Kasivajhula wrote: >> >> ...@Alexis King , let's say I ad

Re: [racket-users] How to change package name on the package index?

2020-06-04 Thread Siddhartha Kasivajhula
. At that point, how would the documentation server handle the fact that two packages provide identical top-level collections? Would that be OK? Not sure if it matters that this is a top-level collection name. On Thu, Jun 4, 2020 at 8:32 PM Siddhartha Kasivajhula wrote: > OK, that's a good idea

Re: [racket-users] How to change package name on the package index?

2020-06-04 Thread Siddhartha Kasivajhula
/481> following discussions including this one <https://github.com/rubygems/rubygems.org/issues/378>. On Thu, Jun 4, 2020 at 7:41 PM Alexis King wrote: > On Jun 4, 2020, at 21:23, Siddhartha Kasivajhula > wrote: > > I'd prefer to avoid that since (1) it would lose the packag

[racket-users] How to change package name on the package index?

2020-06-04 Thread Siddhartha Kasivajhula
A little while ago I uploaded a package to the package index and entered a Titlecase name for it. I've since learned that this becomes the identifier for the package that will be used by raco from that point on (as opposed to being used only on the package description page, as I assumed then). I'd

[racket-users] Generators vs streams (incl. new library)

2020-04-28 Thread Siddhartha Kasivajhula
Hi folks, Here is a by-no-means definitive, and yet hopefully useful library for working with generators: https://docs.racket-lang.org/generator-util/index.html In writing this library, I thought about the cases in which one might use a generator vs a stream in practice. Since Racket provides

[racket-users] Lightweight, lazy trees (new package)

2020-04-21 Thread Siddhartha Kasivajhula
Hi folks, Here is a new package providing lightweight, general purpose utilities for working with tree-structured data: https://docs.racket-lang.org/lazytree/ It allows you to take any data exhibiting tree structure and lazily construct a stream representation of it using functions that

Re: [racket-users] how to adapt BC code for Racket CS?

2020-04-17 Thread Siddhartha Kasivajhula
I've been regularly running "smoke" benchmarks for the relation library, and just updated from Racket 7.5 (BC) to Racket CS 7.6. In case the data is useful to anybody, here are the before/after times. These benchmarks exercise

Re: [racket-users] Re: Organizing tests in project

2020-04-15 Thread Siddhartha Kasivajhula
installer and the current catalog, all > packages were re-built and re-tested. > > At Wed, 15 Apr 2020 12:14:31 -0700, Siddhartha Kasivajhula wrote: > > This morning I find that the package referenced above no longer > > <https://pkgs.racket-lang.org/package/Relation> indic

[racket-users] Re: Organizing tests in project

2020-04-15 Thread Siddhartha Kasivajhula
s long) interval. Does anyone know if this is normal? This section <https://docs.racket-lang.org/pkg/getting-started.html#%28part._register-at-catalog%29> of the docs appears to suggest that the docs are built daily. On Fri, Apr 10, 2020 at 11:07 AM Siddhartha Kasivajhula wrote: > Hi, I

[racket-users] Re: Organizing tests in project

2020-04-10 Thread Siddhartha Kasivajhula
t the server builds packages nightly -- any idea why it hasn't rebuilt yet? Or if it has, is there a way to get updated error output? On Mon, Apr 6, 2020 at 3:27 PM Siddhartha Kasivajhula wrote: > FTR I fixed this by using the `compile-omit-paths` flag: > https://docs.racket-lang.org/ra

[racket-users] Re: Organizing tests in project

2020-04-06 Thread Siddhartha Kasivajhula
FTR I fixed this by using the `compile-omit-paths` flag: https://docs.racket-lang.org/raco/setup-info.html E.g. in info.rkt: (define compile-omit-paths '("tests")) On Tue, Mar 17, 2020 at 12:25 PM Siddhartha Kasivajhula wrote: > Hi, > I'm attempting to organize tes

Re: [racket-users] Re: Best way to handle different versions of Racket?

2020-04-04 Thread Siddhartha Kasivajhula
These sound like three different, alternative ways to do it! Nice to know there are options which presumably each have their merits. @Greg I'm using your Makefile template already :) On Fri, Apr 3, 2020 at 6:54 AM Greg

Re: [racket-users] Best way to handle different versions of Racket?

2020-03-30 Thread Siddhartha Kasivajhula
else, or > define your add1 with another name. The first approach would be something > like: > > (require (only-in racket [add1 @add1])) > (define add1 (compose @add1 @add1)) > > and the second approach would be something like: > > (define @add1 (compose add1 add1)) &

Re: [racket-users] Best way to handle different versions of Racket?

2020-03-30 Thread Siddhartha Kasivajhula
append-immutable). You might want to do something like this >> instead: >> >> (define @string-append-immutable ... now you can use string-append-immutable >> here ...) >> (provide (rename-out [@string-append-immutable string-append-immutable])) >> >> >&g

[racket-users] Best way to handle different versions of Racket?

2020-03-30 Thread Siddhartha Kasivajhula
Hi there, Is there a standard/recommended way to handle multiple versions of Racket in library code? For instance, this handy utility was added in a recent version of Racket:

[racket-users] Organizing tests in project

2020-03-17 Thread Siddhartha Kasivajhula
Hi, I'm attempting to organize tests in my package into subfolders/modules instead of having them in a giant main.rkt test submodule, but am running into some issues and was hoping for some advice on the best way to do it. I think the primary issue is related to source compilation order in raco,

[racket-users] New generic relations package

2019-12-06 Thread Siddhartha Kasivajhula
Hi folks, Hope everyone's having a relaxing start to the holiday season. I've written a package dealing with generic relations and types, just announcing it here in case anyone finds it useful. https://docs.racket-lang.org/relation/index.html The package provides generic versions of order

Re: [racket-users] Re: Reason why char=? accepts only one argument?

2019-11-26 Thread Siddhartha Kasivajhula
s of the original set wherein every element is "not equal" to every other, so that could be why they seem similar in some way. Can't comment on the decision to exclude /= since I'm not a member of the development team :) On Mon, Nov 25, 2019 at 8:15 AM George Neuner wrote: > On M

Re: [racket-users] Reason why char=? accepts only one argument?

2019-11-25 Thread Siddhartha Kasivajhula
Another way to think of it could be to interpret the operator as asking, "do the arguments supplied form an equivalence class ?" If only one argument is supplied, then it trivially forms such a class. On Sun, Nov 24, 2019 at 10:27 PM George Neuner

Re: [racket-users] Symex: a DSL for symbolic expressions

2019-08-01 Thread Siddhartha Kasivajhula
> > > generalization of modal user interfaces that has a "language-oriented > > programming" flavor. > Applying traditionally-sexp structural-based editing to non-sexp > languages seems relevant to non-sexp Racket2 syntax (e.g., Honu), and > other non-sexp languages. The generalization I'm

[racket-users] Symex: a DSL for symbolic expressions

2019-07-29 Thread Siddhartha Kasivajhula
Hi folks, I've been lurking in these here forums for a little while now. Over the years I've looked for the perfect language to implement toy projects in and nothing seemed quite right. It wasn't until I found Racket a few months ago that I felt I'd finally come home. Racket seems like an

Re: [racket-users] Haskell

2019-05-16 Thread Siddhartha Kasivajhula
This may be of interest: https://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_Hours Though, as others have said, this sounds like a more typical usecase for racket. On Tue, May 14, 2019 at 8:23 AM Josh Rubin wrote: > It just occurred to me that Haskell could be a powerful way to

[racket-users] Unexpected behavior with (in-set)?

2019-05-04 Thread Siddhartha Kasivajhula
Hi there, I was surprised by this behavior, but it's entirely possible there's a good reason for it. Bringing it up to understand what that might be. In using (in-set) or (in-mutable-set) in a for loop, it seems that if the loop is removing and adding elements to the set it is iterating over, the