Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: user-defined math functions




On Tue, 11 Apr 2006 12:28pm, Peter Stephenson wrote:
This adds user-defined math functions implemented by shell functions.

Using "functions" seemed the best way of avoiding having to create a new
builtin.  Maybe someone has a better suggestion which avoids too much
new syntax.

Use typeset? Currently I think the -i/-E/-F options cannot be combined with -f. Allow them to be, and have them create math functions with the corresponding return types.



Messages sorted by: Reverse Date, Date, Thread, Author