Skip to content

0.8.0

Latest
Compare
Choose a tag to compare
@Kodiologist Kodiologist released this 08 Jan 14:43
· 1 commit to master since this release

Removals

  • walk, prewalk, and postwalk have been removed. Use map-model and map-hyseq instead.

Breaking Changes

  • recur is now a real object that must be imported from Hyrule when using loop.
  • macroexpand-all now uses the same parameters as hy.macroexpand.
  • lif now treats False as false.

New Features

  • New macro pun.
  • New macro map-hyseq.
  • loop allows more kinds of parameters.
  • assoc allows keyword arguments.
  • flatten, given a non-collection, returns it as a singleton list, instead of raising an error.

Bug Fixes

  • map-model now calls as-model only once (before its own recursion), and it does so unconditionally.
  • loop now works when nested.
  • macroexpand-all no longer crashes on stub macros.
  • macroexpand-all now recognizes macro names properly.
  • lif now works when renamed, or when invoked with hy.R.