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

->clj fails for some Wolfram #117

Open
holyjak opened this issue Sep 14, 2024 · 0 comments
Open

->clj fails for some Wolfram #117

holyjak opened this issue Sep 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@holyjak
Copy link
Member

holyjak commented Sep 14, 2024

Examples:

ImageContainsQ[#, Entity["Concept", "CanisFamiliaris::597qc"]] & /@ images
(*
=> (Map
 #object[wolframite.base.parse$parse_fn$fn__4256 0x3c2fae83 "wolframite.base.parse$parse_fn$fn__4256@3c2fae83"]
 images)
Expected: st. like (Map (Function [x] (ImageContainsQ x (Entity "..."))) images)
This is a combination of Map + lambda it seems, since this one works:
(wl/->clj "ImageContainsQ[#, Entity[\"Concept\", \"CanisFamiliaris::597qc\"]]")
=> (ImageContainsQ (Slot 1) #wolframite.base.types.Entity{:Entity ["Concept" "CanisFamiliaris::597qc"]})
*)
@holyjak holyjak added the bug Something isn't working label Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant