hy/tests/native_tests
Bob Tolbert 41ae4f4d2c Update:
Updated most methods to replace While with For, and added tons of new tests
    for things like (cycle []) and lists with None's in them.

    thanks @olasd

Add set of new core functions

Add set of new core functions to the stdlib.

Moved the auto-import code from compile_expression to
HySymbol so that "even?' in this style expression will
be found and imported.

(list (filter even? [1 2 3 4 5]))

The core functions are documented in 2 sections, one
for basic functions like (even?..) and (nth ...) and
one for all the sequence functions.

Update: This removes all the caching decorators, misnamed as
'lazy-seq' from the core. All sequence methods now just use
yield to return a generator, so they are Python-lazy

Further refinements of core functions

Cleaned up the docs to use 'iterator' instead of 'generator'

Fixed drop to just return the iterator instead of an extra
yield loop. But also added a test to catch dropping too
many.
2013-07-29 08:52:28 -06:00
..
__init__.hy ideas, ideas. 2013-03-05 18:39:34 -05:00
core.hy Update: 2013-07-29 08:52:28 -06:00
defclass.hy Fix missing docstrings from defclass issue #248 2013-07-15 06:58:08 -06:00
language.hy Make with return the last expression from its branch 2013-07-19 00:43:12 +02:00
math.hy Re-indent Hy code using hy-mode 2013-04-28 16:31:31 +02:00
native_macros.hy Fix yielding to not suck (#151) 2013-07-14 13:11:27 -04:00
quote.hy Allow quoting lambda list keywords. 2013-07-28 00:38:16 +02:00
unless.hy Add a `unless' macro 2013-04-28 17:04:35 +02:00
when.hy Add a `when' macro 2013-04-28 17:04:35 +02:00
with_decorator.hy Rename decorate-with' to with-decorator' 2013-04-28 17:14:22 +02:00