Releases: hylang/hyrule
Releases · hylang/hyrule
0.7.0 (uses Hy ≥ 1)
New Features
- New macros
meth
andameth
.
Bug Fixes
match-fn-params
now raises an error for syntactically invalid parameter lists.
0.6.0 (uses Hy 0.29.*)
Removals
defmacro/g!
has been removed. Usedefmacro!
instead.
Other Breaking Changes
cut
on aSequence
now returns anotherSequence
, not a generator.assoc
is now a function rather than a macro. Its effect is unchanged.
New Features
- The
Sequence
constructor now accepts an arbitrary iterable. - New macro
defmacro-kwargs
. - New macro
parse-fn-params
. - New macro
some->
. - New function
import-path
. - New function
sign
. - New function
thru
.
Bug Fixes
defmacro!
now properly handles explicit return statements within its macro definition.- Various
Sequence
bugs have been fixed. assoc
no longer requires a second and third argument.
0.5.0 (uses Hy 0.28.*)
No user-visible changes beyond compatibility with new Hy versions.
0.4.0 (uses Hy 0.27.*)
New Features
do-n
andlist-n
now allow the count to beInf
.- New reader macro
/
that wrapshy.M
for easy imports in macros.
Bug Fixes
seq
anddefseq
no longer crash ifSequence
is not imported.
0.3.0 (uses Hy 0.26.*)
New Features
- New macros
ap-when
,ap-with
.
0.2.1 (uses Hy 0.24.0 or 0.25.*)
Changed setup.py
to declare compatibility with the new Hy release.
0.2 (uses Hy 0.24.0)
Removals
ifp
has been removed. Usebranch
instead.
Other Breaking Changes
- The reader macro (formerly tag macro)
:
is now nameds
.
New Features
- New macro
block
. - New macros
branch
,ebranch
,case
, andecase
. - The macros of
hyrule.anaphoric
are now much smarter in deciding what instances of the symbolit
to replace, so you can now quote or locally rebindit
without issues.
Bug Fixes
- Destructuring macros now consistently return
None
in case of failing to match a certain pattern, instead of sometimes returningNone
and sometimes raising an exception. #%
now parses%i
names from dotted symbols.- The Hy code is now precompiled during installation.
0.1 (uses Hy 1.0a4)
This is the first release of Hyrule per se. The one change below is described relative to the ancestors of Hyrule in Hy 1.0a3.
Breaking Changes
coll?
now returnsFalse
forbytes
objects.