oldk1331 wrote:
>
> One more discussion about the map:
>
> In Scheme, (map f ls) doesn't specify the order,
> f should be functional (non-destructive, no IO), thus
> the order doesn't matter. And it also opens the gate
> for parallel map optimization. On the other hand,
> (for-each f ls) follows the order and f considered
> non-functional.
>
> What do you think? and about "map!"?
Spad is much more imperative than Scheme. And Queue
implies order. So both 'map' and 'map!' for Queue
should work accoring to order in the queue. We can
think about making Spad more friendly to parallel
execution, but this is separate and much bigger
task than proposed change.
--
Waldek Hebisch
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.