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

docs: add a section somewhere that discusses how to translate certain special GAP syntax #921

Open
fingolfin opened this issue Jul 17, 2023 · 2 comments
Labels

Comments

@fingolfin
Copy link
Member

E.g. GAP options: foo(arg : opt) can be translated to foo(arg ; opt=true).

Other examples:

  • how to access G!.bla (getbangproperty etc.)
  • how to access G.1 (getproperty(G, 1) ?)

Could also give a hint / reminder that strings need to be translated

This could e.g. be under Accessing GAP from Julia

@fingolfin fingolfin added kind: enhancement New feature or request documentation labels Jul 17, 2023
@ThomasBreuer
Copy link
Member

The examples above are mentioned/described in the manual section "Convenience adapters".
Would it be enough to modify the introduction of the section "Accessing GAP from Julia" such that it points to "Convenience adapters"? (I can create a pull request for that.)

@ThomasBreuer
Copy link
Member

@fingolfin See pull request #922 for a proposal.

I do not see a good place for a hint about necessary conversions of strings (or large integers).

Perhaps also wrapped GAP functions should be mentioned in the documentation (together with a remark that they cannot be used in situations where GAP needs objects in the filter IsFunction).

Concerning GAP's IsBound, currently one can check for "boundness" (is there such a word?) of global variables and record components via hasproperty; for checking whether a list entry is bound, I see just GAP.Wrappers.ISB_LIST, which looks clumsy; what would be a Julia-like name for it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants