Thank you I think this is clearer to me now.

On Wed, Mar 29, 2017 at 6:34 PM, Ronan Lamy <ronan.l...@gmail.com> wrote:

> Le 29/03/17 à 15:28, Ryan Gonzalez a écrit :
>
>> RPython already has this:
>>
>>
>> https://bitbucket.org/pypy/pypy/src/tip/rpython/rlib/signature.py
>>
>
> Indeed, @signature is one of 2 prior attempts at doing this in rpython[*].
> However its syntax is cumbersome and it's rather limited in the types it
> can express - you can only use what's in rpython.rlib.types and these
> functions cannot be combined arbitrarily to build more complex types.
>
> [*] The other one is @enforceargs: https://bitbucket.org/pypy/pyp
> y/src/tip/rpython/rlib/objectmodel.py
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev@python.org
> https://mail.python.org/mailman/listinfo/pypy-dev
>



-- 
Joannah Nanjekye
+256776468213
F : Nanjekye Captain Joannah
S : joannah.nanjekye
T : @captainjoannah
SO : joannah


*"You think you know when you learn, are more sure when you can write, even
more when you can teach, but certain when you can program." Alan J. Perlis*
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to