-
Notifications
You must be signed in to change notification settings - Fork 6
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
Problem with working examples in Un-course #2
Comments
Hi! I'd recommend using this version of miniKanren: https://github.com/webyrd/faster-miniKanren You can run this version of miniKanren in Racket by loading 'mk.rkt'. The 'evalo' isn't actually part of miniKanren. Rather, it is a miniKanren goal Here's a transcript from running the full interpreter in Chez Scheme: Chez Scheme Version 9.4.1
Let me know if you have any problems or questions! Cheers, --Will On Sun, Jun 5, 2016 at 3:14 AM, I Hate Tears [email protected]
|
Worked like a charm in Chez Scheme. But one question where the scheme looks to load the files for ex: "mk.scm" ? Is that in Home directory (i put minikanren in every possible directory that i think of where scheme might have searched) or can i tell scheme where to look. #lang racket mk.scm:8:0: #%top-interaction: unbound identifier; hard to even debug. Thanks. really helpful. |
On Mon, Jun 6, 2016 at 11:19 AM, I Hate Tears [email protected]
Did you try loading 'mk.rkt' rather than 'mk.scm'?
Glad to help! :)
|
Yes , I initially thought of that and that's how i was loading it. Cheers! Thanks.
Yes Did that itself. And Dr.Racket searches in Home directory so i'm putting it in right place . #lang racket mk.rkt:1:0: #%top-interaction: unbound identifier; Thank you so much. Completed first two un-courses. Very helpful. Thank you. Minikanren Rocks ! |
Happy to help! BTW, you might find this new miniKanren-powered project interesting: https://github.com/webyrd/Barliman On Tue, Jun 7, 2016 at 4:03 AM, I Hate Tears [email protected]
|
I'm using Dr.Racket with https://github.com/miniKanren/Racket-miniKanren/wiki/How-to-Install-as-a-Package-from-Dr.-Racket
But it does't support few constructs , For example evalo .. And few others . So i'm now trying to use scheme instead . Can you specify the what should i use to get the examples shown working. I'm using mit-scheme then when i clone this repo and load "mk.sm" i get this. With Other repo too i'm getting similar problem. Can you help ?
1 ]=> (load "mk.scm")
;Loading "mk.scm"...
;Unbound variable: list-sort
;To continue, call RESTART with an option number:
; (RESTART 3) => Specify a value to use instead of list-sort.
; (RESTART 2) => Define list-sort to a given value.
; (RESTART 1) => Return to read-eval-print level 1.
With https://github.com/miniKanren/miniKanren
1 ]=> (load "mk.scm")
;Loading "mk.scm"...
;lambda list has duplicate parameter: #[uninterned-symbol 11 a] in (#[uninterned-symbol 11 a] #[uninterned-symbol 11 a])
;To continue, call RESTART with an option number:
; (RESTART 1) => Return to read-eval-print level 1.
The text was updated successfully, but these errors were encountered: