hy/tests/native_tests
Allison Kaptur 3f9ae9122e Raise exceptions when no handlers are provided.
Also small DRYing in try handling.

Previously, writing a bare (try (foo)) would invoke Pokemon
exception catching (gotta catch 'em all) instead of the correct
behavior, which is to raise the exception if no handler is provided.

Note that this is a cute feature of Hy, as a `try` with no `except`
is a syntax error.  We avoid the syntax error here because we don't
use Python's compiler, which is the only thing that can throw
Syntax Errors.  :D

Fixes #555.
2014-04-28 03:08:30 +03:00
..
contrib Add Curry module. 2014-03-29 14:40:13 -04:00
__init__.hy ideas, ideas. 2013-03-05 18:39:34 -05:00
cons.hy Add a cons object and related mechanisms 2014-01-23 23:08:52 +01:00
core.hy Tweak the zipwith doc a bit and add @kirbyfan64 to AUTHORS. 2014-02-22 02:21:34 +02:00
defclass.hy Fix missing docstrings from defclass issue #248 2013-07-15 06:58:08 -06:00
language.hy Raise exceptions when no handlers are provided. 2014-04-28 03:08:30 +03:00
math.hy Operators + and * work without args, fixes #372 2013-12-16 00:04:43 +05:30
native_macros.hy Merge branch 'master' into pr/515 2014-04-10 22:52:41 -04:00
quote.hy Add test for unquote-splice behavior 2013-09-22 15:12:59 +02:00
reader_macros.hy Fix reader macros to actually be macros 2014-01-17 01:07:47 +01:00
unless.hy add nil as synonym for None 2013-12-27 13:50:19 -07:00
when.hy add nil as synonym for None 2013-12-27 13:50:19 -07:00
with_decorator.hy Rename decorate-with' to with-decorator' 2013-04-28 17:14:22 +02:00
with_test.hy added for and with macros 2013-12-29 16:50:21 +01:00