Trying to revive Hymn library for Hylang 0.27 #2473
-
I am trying to adapt Hymn library code to Hylang 0.27. And I seem to be way over my head here... This is what I have at the moment: https://github.com/pyx/hymn/compare/master...wrobell:hymn:hy-0.27?expand=1. I have changed Maybe monad example to
The error I am getting is
Any suggestions how I could debug this? (I am accepting fish as well ;)) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That error means a function uses the old |
Beta Was this translation helpful? Give feedback.
That error means a function uses the old
&optional
style for declaring optional arguments. The style required by more recent versions of Hy looks like(fn [[argument-name default-value]] …)
.