Hacker News new | past | comments | ask | show | jobs | submit login

Raku (www.raku.org) does a surprisingly good impression of Lisp:

  (sub (:&is-even = (sub (\n)
                      {([or] ([==] 0, n),
                             (is-odd (pred n:)))}),
        :&is-odd =  (sub (\n)
                      {([and] (not ([==] 0, n)),
                              (is-even (pred n:)))}))
     {is-odd 11})()
https://www.codesections.com/blog/raku-lisp-impression/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: