Some updates with Racket v7.5[cs] and go 1.13.5 in my Mac mini 2018:
$ raco exe whispers.rkt
$ time ./whispers
#
11
1.85 real 1.63 user 0.20 sys
$ time ./hello
11
0.28 real 0.54 user 0.14 sys
Seems that Racket v7.5[cs] doing much better ri
I was reading the document of Typed
Racket(https://docs.racket-lang.org/ts-guide/types.html#%28part._.Non-.Uniform_.Variable-.Arity_.Functions%29).
It saids that "Typed Racket can handle some uses of rest arguments".
I was wondering if maybe Typed Racket could handle the follow case:
```
(def
se missing pieces, you will make much more progress. If
> you post those, we can also help you make real progress, not just complete a
> problem from HtDP/2e.
>
>
> > On Jan 30, 2016, at 11:29 PM, liweijian wrote:
> >
> > HtDP taught us how to check if there exist
HtDP taught us how to check if there exists path(s) from one node to another.
I tried to implement accumulating all the paths between two nodes as:
```racket
(define (find-paths origin dest G path)
(cond
[(equal? origin dest) (reverse (cons dest path))]
[else
(find-paths/all (neigh
4 matches
Mail list logo