On Mon, 2007-04-02 at 02:18 -0700, Erick Tryzelaar wrote: > 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.
I will comment out 50% of the test case, so we can comment IN your str for lists, since it seems to be correct. .. -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net ------------------------------------------------------------------------- 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