-
Notifications
You must be signed in to change notification settings - Fork 3
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
error on load #9
Comments
It looks like you need to install the typedef pack. Does that resolve the problem? |
no, I had typedef installed , reinstalling does not help |
I'm unable to reproduce the problem locally. Can you provide a minimal file that exhibits the problem for you? I tried It looks like something is preventing |
Hi, i am too experiencing the same error message. ?- use_module(library(julian)). I wonder if this is an issue that caused the following example from your tutorial on RFC3339 not working properly? ?- form_time(now, _T), |
I'm still not able to reproduce this problem locally. Which version of SWI-Prolog are you using? What output do you get when you run the following command:
|
version 7.2.3 for mac. Here's the output. Managed to get around the issue by assuming it could be a string thing: |
ERROR: c:/program files/swipl/pack/julian/prolog/julian.pl:29:
Wrong context: type/1 can only be used in a directive
Warning: c:/program files/swipl/pack/julian/prolog/julian.pl:29:
Goal (directive) failed: julian:type(--->(duration, (days(integer);s(integer);ms(integer);ns(integer))))
The text was updated successfully, but these errors were encountered: