"Loop" in Prelude #119
Labels
No Label
accepted
bug
clj
documentation
enhancement
errors
infrastructure
later
next
now
optimization
proposal
question
research
semantics
syntax
ux
vm
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: twc/ludus#119
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The error
The code:
The arity of the function to
eq?
in the lambda you pass to filter is weird. I haven't figured out why it's causing a panic, but you can get this to work correctly if that line reads:let matches = filter (fn (x) -> eq? (a_key, first(x)), a_dict)
I'll try to figure out how to improve this error, or what even is causing it, but that should get your code to work.
Problem was with higher-arity
eq?
applications. Fixed in5c96cd8538
, along with the wrong algorithm forneq?