Catching up ...
> What documentation are you looking at?
>
> http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#(part._(lib._htdp-advanced..ss._lang)._.Hash_.Tables)
If I type "hash" in the Help Desk, I get
hash provided from racket/base, racket
but not from ASL, in contrast to, s
Just pushed an update with optional argument constructors and
immutable hash operations.
Jay
On Tue, Aug 24, 2010 at 11:36 AM, Jay McCarthy wrote:
> What documentation are you looking at?
>
> http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#(part._(lib._htdp-advanced..ss._lang)._.Ha
This change will be pushed momentarily.
Jay
On Sat, Aug 21, 2010 at 7:04 PM, Shriram Krishnamurthi
wrote:
> Why does make-hash require one argument, rather than just taking zero
> like make-hash in Racket does? ASL is anyway a language with state,
> so it's perfectly meaningful to create an em
What documentation are you looking at?
http://docs.racket-lang.org/htdp-langs/advanced-prim-ops.html#(part._(lib._htdp-advanced..ss._lang)._.Hash_.Tables)
As far as the immutable functions, when I sent you the list of the
functions I intended to add, those were not on it. They were
intentionally
Hashes seem to have been added to ASL in a haphazard way. For some
reason the MUTABLE hash operations are present, but not the IMmutable
ones. Also, the docs don't seem to reflect their existence.
Anyone? (Jay, did you push this?)
_
For list-rel
Why does make-hash require one argument, rather than just taking zero
like make-hash in Racket does? ASL is anyway a language with state,
so it's perfectly meaningful to create an empty hash table and update
it. Furthermore, many algorithms begin with an empty hash table.
This argument strikes me
6 matches
Mail list logo