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
Broken with Guile Scheme 2.0.7 #2
Comments
Hi! Looks like remp isn't built into Guile. (remp even? '(1 2 3 4 5)) => (1 3 5) If you add this defn, do you get any other errors? (define remp Thanks. --Will |
Hi! (define (remp p ls) (define (exists p ls) (define sorter (lambda (ls) (sort ls lex<=?))) (define datum->string Cheers, |
This is still broken in chicken scheme. The fix provided works as long as you delete the original sorter (which uses those args backwards). |
Hmm. The version of Vicare Scheme I'm using doesn't even define 'sort', although the code works if 'sort' is defined to be 'list-sort'. I wonder if implementation-specific preludes are a better way to handle these incompatibilities, as was done with earlier versions of full Kanren. Any thoughts? |
+1 for preludes if they can reliably adapt miniKanren to specific implementations … so many fun things to do with guile! |
better yet: can miniKanren somehow generate the translations needed to implement it for a given scheme engine, provided abstract definitions of the external functions it requires? for example, "i need a procedure |
Output from REPL:
The text was updated successfully, but these errors were encountered: