Wed May 5 14:10:36 CEST 2004
I have two opposite answers :-)
Sure you can do anything you like, it's plain
erlang function pattern matching, so what you write
in your function body is up to you. I guess one
should make sure to return something that makes
sense in the transformation process.
Doing things like that is to have sideeffects and
I heard somewhere that this is not the proper way of
doing functional programming. One reason is that
the order of how things are executed are not
really defined in the transformation.
onsdag 05 maj 2004 17:29 skrev :
> a propos the xslt like transformations in
> erlang that mikael karrlson did looking over
> them, it seems like there's nothing to keep
> a transformation from doing anything other
> than transformation.
> for example one could have a transformation
> that starts other processes, actually does
> stuff, and as its output has a description
> of what it did.
More information about the erlang-questions