-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Labels
topic: conversionIssue related to conversionIssue related to conversion
Description
The use of GapObj
as a constructor is getting more and more popular.
Currently the implementation provides just GapObj(obj, recursive)
, and GapObj(obj; recursive = false)
,
and delegates to the three argument version julia_to_gap(obj, IdDict(); recursive)
.
This way, calling GapObj
with one argument often runs via julia_to_gap(obj, IdDict(); recursive)
into the default method of julia_to_gap
that discards the last two arguments.
Can't we use GapObj
and julia_to_gap
as synonyms?
Then this detour would be avoided, and the special one-argument method would be called directly.
Metadata
Metadata
Assignees
Labels
topic: conversionIssue related to conversionIssue related to conversion