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

"Bracy" Lists (Sets) #8

Closed
giovinazzo-kevin opened this issue Jun 13, 2022 · 1 comment · Fixed by #12
Closed

"Bracy" Lists (Sets) #8

giovinazzo-kevin opened this issue Jun 13, 2022 · 1 comment · Fixed by #12

Comments

@giovinazzo-kevin
Copy link
Owner

giovinazzo-kevin commented Jun 13, 2022

SWI-Prolog represents shared variables within Lambda expressions as a list enclosed by braces, denoted a "bracy list".

Ergo only supports regular lists at the moment. It would be useful to define new list types that differ only in the symbols used for parsing (opening token, separator, and closing token).

It would be great to define these new types as abstract first class citizens, so that their semantics can differ from those of regular lists.

Waiting on #4.

@giovinazzo-kevin
Copy link
Owner Author

Notes

Implemented "bracy lists" with the name and semantics of Sets.

@giovinazzo-kevin giovinazzo-kevin changed the title "Bracy" Lists "Bracy" Lists (Sets) Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant