Re: [racket-users] Location grabbing in typed/rackunit

2020-04-28 Thread Ben Greenman
On 4/28/20, shane c wrote: > I think require/typed/provide in typed/rackunit is affecting the location > grabbing feature. Hoping someone can provide a suggested path forward. When > > I run this program, > > #lang typed/racket/base > > (require typed/rackunit) > (check-true (string (check-true (s

[racket-users] Location grabbing in typed/rackunit

2020-04-28 Thread shane c
I think require/typed/provide in typed/rackunit is affecting the location grabbing feature. Hoping someone can provide a suggested path forward. When I run this program, #lang typed/racket/base (require typed/rackunit) (check-true (stringhttps://groups.google.com/d/msgid/racket-users/f3300e51-5

Re: [racket-users] FrTime magic updating seconds

2020-04-28 Thread 'John Clements' via Racket Users
Wait! I got it! I forgot. It’s not hash-lang. I have to choose the language via the “choose language…” menu. Sorry for the noise, folks. John > On Apr 28, 2020, at 3:28 PM, 'John Clements' via Racket Users > wrote: > > Okay, I have several things to say about Father Time. > > Thing one: run

[racket-users] FrTime magic updating seconds

2020-04-28 Thread 'John Clements' via Racket Users
Okay, I have several things to say about Father Time. Thing one: running through these demos (frtime/demos) is kind of astonishing. There just doesn’t seem to be enough code for it to do what it’s doing. The father time programs are *incredibly* concise distillations of behavior. The ball-pushi

[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 suc

[racket-users] Re: Question about generating urls with dispatch-rules from imported modules

2020-04-28 Thread Greg Hendershott
Although I haven't tried to use it hands-on, the description of the imperative flavor makes me think it might be intended to help with this? https://docs.racket-lang.org/web-server/dispatch.html#%28part._.Imperative_.Dispatch_.Containers%29 p.s. In general you *can* do mutual requires with l

Re: [racket-users] Functions not being linked in scribble

2020-04-28 Thread David Storrs
On Tue, Apr 28, 2020 at 11:41 AM Sam Tobin-Hochstadt wrote: > I believe you're missing a `defmodule` inside test.scrbl. > Aha. Okay, I: *) Added @defmodule[test] to the test.scrbl file *) Created a main.rkt that did (require "test.rkt") and (provide (all-from-out "test.rkt")) *) Did a raco pkg

Re: [racket-users] Functions not being linked in scribble

2020-04-28 Thread Sam Tobin-Hochstadt
I believe you're missing a `defmodule` inside test.scrbl. Sam On Tue, Apr 28, 2020 at 11:32 AM David Storrs wrote: > > Here's my test code. I get the test.html file out at the end and, as > expected, the explanation of bar says "Calls foo" with foo in blue with a red > line underneath. What

Re: [racket-users] Functions not being linked in scribble

2020-04-28 Thread David Storrs
Here's my test code. I get the test.html file out at the end and, as expected, the explanation of bar says "Calls foo" with foo in blue with a red line underneath. What am I missing? ; test.rkt #lang racket (provide (all-defined-out)) (define (foo) 7) (define (bar) (foo)) -- ; test.sc

Re: [racket-users] Rhombus project plan

2020-04-28 Thread David Storrs
I'll throw this in simply so that it's part of this thread. There's nothing new here, so if you've seen my comments in earlier Racket2 threads then you can skip this. I've said before and continue to think that getting rid of the parenthesis syntax is a major error. It is inarguable that there a

Re: [racket-users] Functions not being linked in scribble

2020-04-28 Thread Ben Greenman
On 4/28/20, David Storrs wrote: > According to what I see in Scribble, both actual examples and in the > documentation, I had thought that if I did @defproc[func-name] then > func-name would become a link target and later uses of @racket[func-name] > would automatically link to that site. I'm cle

[racket-users] Functions not being linked in scribble

2020-04-28 Thread David Storrs
According to what I see in Scribble, both actual examples and in the documentation, I had thought that if I did @defproc[func-name] then func-name would become a link target and later uses of @racket[func-name] would automatically link to that site. I'm clearly missing something; my functions are

[racket-users] Re: Rhombus project plan

2020-04-28 Thread unlimitedscolobb
Hello everyone and thank you for this very interesting discussion! I'd like to share my opinion on parenthesized prefix syntax: I actually switched to Racket/Lisp because of it! This highly uniform structure best fits the shape of mind as of today. Now, I explicitly don't pretend to be represe