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

Keyword as a function seems broken #18

Closed
dazld opened this issue Dec 18, 2019 · 1 comment
Closed

Keyword as a function seems broken #18

dazld opened this issue Dec 18, 2019 · 1 comment
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@dazld
Copy link

dazld commented Dec 18, 2019

➜  bin flk                                                            
Fleck
user> ({:foo "bar"} :foo)
/home/dan/bin/flk: line 1359: __5bal7_hmap_572: command not found
(:foo)
user> (:foo {})
/home/dan/bin/flk: line 1359: ʞfoo: command not found
({})
user> (:foo {:foo :bar})
/home/dan/bin/flk: line 1359: ʞfoo: command not found
({:foo :bar})
user>

Am I doing something wrong?

@chr15m chr15m added bug Something isn't working documentation Improvements or additions to documentation labels Dec 18, 2019
@chr15m
Copy link
Owner

chr15m commented Dec 18, 2019

Unfortunately flk is merely Clojure-like rather than a full implementation of Clojure, and it does not support this feature. That is because mal, on which it is based, does not support this feature.

Thanks for noting this, I will add it to the FAQ.

chr15m added a commit that referenced this issue Dec 18, 2019
@chr15m chr15m closed this as completed Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants