gilch

Results 164 comments of gilch

Don't use `sum` like that. > This function is intended specifically for use with numeric values and may reject non-numeric types. It's a mere implementation detail that this works at...

In Python, dicts are iterables. Their iterator returns the keys. In a for loop, this is more useful, since you can still use the keys to get the values via...

It looks like Clojure keeps maps in one piece when they're not the top level. ```Clojure user=> (flatten [10 20 [{1 2, 5 6} {3 4}]]) (10 20 {1 2,...

Clojure also keeps sets in one piece. ```Clojure user=> (flatten [10 #{1 2 3}]) (10 #{1 3 2}) ``` I don't think "iterable" is the right criterion. The appropriate abc...

Except strings or bytestrings. Is an `OrderedDict` a sequence? ```Python >>> isinstance(OrderedDict(), abc.Sequence) False ``` Python says no.

I deleted the glossary wiki page. The new documentation page supersedes it and it's out of date.

Closes #256 as well. I didn't want to change that before the next release, but considering the magnitude of the other changes I'm making, it seemed silly to keep putting...

OK. I feel like I need to sync this one up. It's still not ready for a release and it looks like it's not going to make it before October,...

Is a fully-qualified alias like in `(hissp..!#prelude)` worth it to avoid a `(hissp.._macro_.prelude)` if `(hissp.._M.prelude)` could have worked to begin with? The alias obscures the more direct way of doing...

Adding an alias for `hissp.macros.._macro_` to `hissp.__init__` seems like the more conservative change to try first, and the fact that `hissp._macro_` exists is itself precedent for such an approach, despite...