spielwiese
Last change
on this file since 3c473c was
3c473c,
checked in by Kai Krüger <krueger@…>, 14 years ago
|
rename directory modules to dyn_modules
anticipating "modules" directory for cmake.
git-svn-id: file:///usr/local/Singular/svn/trunk@13033 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
371 bytes
|
Line | |
---|
1 | content = OMCD("arith1") |
---|
2 | content.add("bla", "blupp", "blipper") |
---|
3 | OMCD.implement |
---|
4 | implementation = OMCDImplementation(content) |
---|
5 | |
---|
6 | implementation.groebner=singular.groebner |
---|
7 | #does the default mapping, forgets about attributes |
---|
8 | |
---|
9 | @keep_attributions |
---|
10 | def attr_play(a,b): |
---|
11 | attribs=attributes(a) |
---|
12 | #... |
---|
13 | |
---|
14 | implementation.attr=attr_play |
---|
15 | |
---|
16 | |
---|
17 | def evaluate(object, attributes): |
---|
18 | pass |
---|
19 | |
---|
Note: See
TracBrowser
for help on using the repository browser.