Thanks Simon,
Now it makes more sense.
Amri.
On Friday, June 14, 2013 6:41:58 PM UTC+5:30, Simon King wrote:
>
> Hi Prasad,
>
> On 2013-06-14, Amritanshu Prasad >
> wrote:
> > I am trying to define a class with parent EnumeratedSets whose
> constructor
> > takes a list as an input.
>
> Fir
Thanks, Nicolas.
The documentation is pretty good; I think I am starting to understand.
Amri.
On Friday, June 14, 2013 8:09:29 PM UTC+5:30, Nicolas M. Thiery wrote:
>
> Dear Amritanshu,
>
> On Thu, Jun 13, 2013 at 10:19:32PM -0700, Amritanshu Prasad wrote:
> >I am trying to define
Dear Amritanshu,
On Thu, Jun 13, 2013 at 10:19:32PM -0700, Amritanshu Prasad wrote:
>I am trying to define a class with parent EnumeratedSets whose constructor
>takes a list as an input.
>I tried:
>class MyExample(UniqueRepresentation, Parent):
>def __init__(self, i
Congratulations!
This reminds me that I need to work on my paper interface to the Sage Cell
Server. :)
On Wednesday, June 12, 2013 12:18:21 AM UTC+3, Dox wrote:
>
> Great work! Congratulations!
>
--
You received this message because you are subscribed to the Google Groups
"sage-combinat-deve
Hi Prasad,
On 2013-06-14, Amritanshu Prasad wrote:
> I am trying to define a class with parent EnumeratedSets whose constructor
> takes a list as an input.
First of all, EnumeratedSets is a category. So, I suppose you mean: You
try to define a parent in the category of enumerated sets. This is
I am trying to define a class with parent EnumeratedSets whose constructor
takes a list as an input.
I tried:
class MyExample(UniqueRepresentation, Parent):
def __init__(self, input):
self._input = input
def __repr__(self):
return str(self._input)
but when I said