Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Babashka compatibility #20

Open
borkdude opened this issue May 7, 2021 · 0 comments
Open

Babashka compatibility #20

borkdude opened this issue May 7, 2021 · 0 comments

Comments

@borkdude
Copy link

borkdude commented May 7, 2021

Hi! Thanks for this wonderful library.

I found that this library is almost compatible with babashka. With only one minor change, I could make it work:

https://gist.github.com/borkdude/bbc78b34e77ef91510ace75862d23aeb

I will try to make babashka compatible so this library can work out of the box. The only problem right now is the Comparable interface on the defrecord: currently babashka only supports implementing protocols on records. If this somehow doesn't work out, are you open to receiving a PR which makes this library compatible with babashka? This can be done using reader conditionals:

#?(:bb :foo :clj :bar)

https://babashka.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant