Displaying 3 results from an estimated 3 matches for "flet".
Did you mean:
flat
2008 Jul 23
1
Calling LISP programs in R
..."y (* v z)";
PUT "mix (append (list x) mix)";
PUT "mix (append (list y) mix)))))";
PUT "(setq mix (remove nil mix)";
PUT "mixnew (loop for x in mix append (list(+ Mn (* SD x)))))";
PUT "(print mixnew)";
PUT "(flet(( mean(zlist)";
PUT "(setq sum (loop for x in zlist sum x))";
PUT "(setq m (/ sum (length zlist)))))";
PUT '(pprint (list "The mean is:" (mean mixnew))))';
PUT "(flet((var(zlist)";
PUT "(setq sumsq (loop for x in zlist sum (*...
2005 May 21
2
Possible (ab)use of lexical scoping in R ?
...er function.
What I want to do is so create a set of (user-invisible) auxilliaries
used by another set of (user-visible) "main" functions. I might also
wish sometimes to create a such a set of data.
(Common) Lisp and Scheme allow this easily. For example, in Common Lisp,
I could use :
(flet ((bar (a)(...))(gee (t u)(...)))
(defun foo(x y)( ...))
(defun quux(m n ...)(...)))
Now (barring syntax errors I may have slipped in the above
pseudo-example (my Lisp is rusty)), foo and quux are known in the main
environment, can both call bar and gee, which are not visible. Lisp also
allows...
2004 Apr 28
5
Asterisk goes international :-)
During the recent week, we've worked hard to add more of the contributed international
support to Asterisk. A big step was taken yesterday when Mark added international support
for saynumber() to CVS. We now have a first version of support for
* Danish
* German
* English
* Swedish
* Norwegian
* Portuguese
* Italian
* French
All of these require that you add your own sound files. There are