[PD] Turing Tarpit (was Re: (breaking symbols

Billy Stiltner billy.stiltner at gmail.com
Fri Dec 5 11:26:53 CET 2014


> you don't want to "strip the selector". the selector is there to hint at
> the type (at least in the case of 'float' and 'symbol'), but it cannot
> change the type of the atom (symbol:'1' vs float:1).
>
> what you do want is to convert a symbol into a number.
>
> attached is a vanilla [symbol2int] implementation
>
> i leave it as an exercise to the reader to turn it into a [symbol2float]
> :-)
>
>
> gfdmsr
> IOhannes
>
> thank you very much, can probably clean up a lot of patches with that
serialize patch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20141205/c4869ea6/attachment.html>


More information about the Pd-list mailing list