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.
Answered by
Kodiologist
Jul 26, 2023
Replies: 1 comment 1 reply
-
That error means a function uses the old |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
wrobell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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]] …)
.