Opened 9 years ago
Closed 8 years ago
#646 closed bug (wontfix)
newstruct: How to de-install installed kernel commands
Reported by: | gorzel | Owned by: | somebody |
---|---|---|---|
Priority: | minor | Milestone: | 4-1-0 and higher |
Component: | singular-kernel | Version: | 4-0-0 |
Keywords: | newstruct | Cc: |
Description
Taken from the manual:
newstruct("nt","int a,poly b,string c"); nt A; A; // c= // b=?? / a=0 ring r; // a pretty print routine for nt: proc pretty_print(nt A) { "nt with string c:"+A.c+" and poly:"+string(A.b); } system("install","nt","print",pretty_print,1); // default printing uses print A; // nt with string c: and poly:0
Is there a way to undo what one has installed, so to see the ordinary output as at the beginning?
Note: See
TracTickets for help on using
tickets.
it is only possible to overwrite the newstruct type. no other functionality is currently available and not planned. Contributions are welcome! :)