From: Jeremy V. <jvo...@gm...> - 2008-08-15 04:25:56
|
OMG $$++ Regarding tuples, I've always thought of tuples as representing structures with a fixed number of slots, and that this was a perfectly valid thing to do. My Pure abilities are still weak, so somebody help me out – I assumed tagged tuples would be useful for representing algebraic types in a dynamic language like Pure, since they are good for matching on. Is there a better way? Best, Jeremy Voorhis On Thu, Aug 14, 2008 at 5:17 PM, Albert Graef <Dr....@t-...> wrote: > Eddie Rucker wrote: >> I've been using $$ or |> but whatever you decide is fine by me. > > $$ doesn't look too bad. > >> One minor quibble. Could we use ++ for list and string concatenation? It >> interferes with using + for adding matrices when they are implemented as >> lists of lists. > > Well, actually I thought about this (in fact Q has this for exactly this > reason). But lists are an awfully inefficient data structure to do > matrix calculations anyway. In order to properly support GSL, we need an > array data type that can be just passed to the GSL routines as is. As > soon as your GSL module begins to take shape, I'm going to work on that. > >> Does TIA mean "The Intellectual Activist?" ;-) > > OMG BTW IANAL BALIKMFA !! ;-) > > Cheers, > Albert > > -- > Dr. Albert Gr"af > Dept. of Music-Informatics, University of Mainz, Germany > Email: Dr....@t-..., ag...@mu... > WWW: http://www.musikinformatik.uni-mainz.de/ag > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > pure-lang-users mailing list > pur...@li... > https://lists.sourceforge.net/lists/listinfo/pure-lang-users > |