Rhythmic Fistman wrote:
> On 4/2/07, Rhythmic Fistman <[EMAIL PROTECTED]> wrote:
>   
>> How do I convert a charp to a string in felix?
>>
>> At the moment I'm doing it in the c++ binding because
>> I don't know any other way.
>>     
>
> Ah, str(cp).

Yeah, I was rolling out the Show typeclass to most datastructures, so 
you'll (eventually) be able to do "str( (1,'abc',3) )" and it prints out 
"(1,'abc',3)". Unfortunately, I ran into a really odd edge case where 
felix decides to use up all the memory if we define the str function for 
lists. John thinks it's an ocaml bug, but hasn't gotten any word back 
from them yet about it.

-e

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to