Hi all,
I just installed a package with raco pkg install:
$ raco pkg install
github://github.com/tonyg/racket-pretty-printing-combinators/master
... and then removed it with raco pkg remove:
raco pkg remove racket-pretty-printing-combinators
... only to be told:
Inferred package scope: /home/
alternative like
>> (check-true (hash-equal? hash1 hash2))
>>
>> but it turns out hash-equal? is not what I expected it to be.
>>
>> Other than writing a custom comparison, is there a handy way to compare 2
>> #hash?
>>
>> jGc
>>
>> __
At Sat, 17 Aug 2013 11:30:40 -0700, Ben Goetter wrote:
> At Vince's advice, I tried
> raco pkg install -i main-distribution
> to complete my installation, but got a SSL error
>
> Resolving "main-distribution" via https://pkg.racket-lang.org
> SSLv23_client_method: implementation not
Thank you. That's exactly what happened: I missed the submodule nature
of native-pkgs.
These directions are already in INSTALL.txt, which I did not reread. I
didn't look beyond
http://git.racket-lang.org/intro.html#clone_the_plt_repository.
On 8/17/2013 11:52 AM, Nick Shelley wrote:
I just
I just ran into this very thing today because I didn't realize the packages
were put into a submodule and I'm in the habit of not reading error
messages. However, after trying some things and getting this error multiple
times, I finally read it carefully. The answer is in your skimmed
"something so
I apologize for the semi-clueless nature of this message. I know that
Racket's been going through a lot of changes in the last few months.
Rip van Winkle here is trying to come back up to speed.
I did a fresh git clone, then built Racket's core on Windows with VS2008
via the script in racket
I should also add that Neal wrote the new plot package which is wonderful
for analysis work. I've rewritten my large analysis packages using the plot
package and they work great [As Matthias said, it isn't something I can
release publicly, but could share some sanitized screen shots and talk
about
I wrote the Science Collection to support my own knowledge-based simulation
work, which is basically the Simulation and Inference collections that are
also on PLaneT. The Science Collection basically had what I needed to
support that work. We use the code on a daily basis for many analysis
applicat
p.s. Probably better names would be `hash=?` and `dict=?`. Following
the example of `string=?`, `symbol=?`, etc.
On Sat, Aug 17, 2013 at 9:57 AM, Greg Hendershott
wrote:
> Well you could write your own predicate -- what you expected
> `hash-equal?` to be. Let's call it `hash-equivalent?`:
>
> #la
Well you could write your own predicate -- what you expected
`hash-equal?` to be. Let's call it `hash-equivalent?`:
#lang racket
(define (hash-equivalent? a b)
(for/and ([(k v) (in-hash a)])
(and (hash-has-key? b k)
(equal? (hash-ref b k) v
;; Testing
(require rackunit)
(defin
You were right on.
So I converted one of the mutable and it worked:
(make-immutable-hash (hash->list mutable-hash))
Is there a better way?
On Sat, Aug 17, 2013 at 9:18 AM, Robby Findler
wrote:
> Those are equal if they are both mutable or both immutable. Probably one
> is mutable and the othe
Those are equal if they are both mutable or both immutable. Probably one is
mutable and the other isn't (this, unfortunately, doesn't show up in the
print outs). It is quite confusing, I agree.
> (equal? #hash((6 . 1) (4 . 1) (3 . 2) (2 . 2)) #hash((2 . 2) (3 . 2) (4 .
1) (6 . 1)))
#t
Robby
On
FAILURE
actual: #hash((6 . 1) (4 . 1) (3 . 2) (2 . 2))
expected: #hash((2 . 2) (3 . 2) (4 . 1) (6 . 1))
name: check-equal?
I tried alternative like
(check-true (hash-equal? hash1 hash2))
but it turns out hash-equal? is not what I expected it to be.
Other than writing a custom compar
For the "Racket Hall of Fame": we programmed the core component for ecg
analysis with DrRacket: http://pulse7.at
--
Mag. Dr. Nikolaus Klepp
Einnehmerstraße 14
A-4810 Gmunden
Tel.: +43 650 82 11 724
email: off...@klepp.biz
Racket Users list:
http://lists.racket-lang.o
Neil Toronto writes:
> Anyway, the math library came about because I was sitting on a pile of
> code I thought I should share. When I announced it, people asked for
> arrays, so I added them, and Jens Axel volunteered number theory and
> linear algebra functions.
Sounds fine. But "... so I
15 matches
Mail list logo