Gentlemen and Ladies,

I am looking at translating some scheme code to Unicon. However, there 
are a number of places where lambda expressions are used in the code. An 
example is the following code snippet

#(define map-eval
#  (lambda (operand-tree env context applicative)
#    (if (not (kernel-list? operand-tree))
#        (error-pass
#          (make-error-descriptor
#            (list "Operand tree not a list, passed to "
#                  (describe-object applicative)))
#          context)
#        (simple-map
#::
#          (lambda (operand) (eval operand env context))
#;;
#          operand-tree))))
#

The specific segment is marked between the #:: rows.

What suggestions are there to convert this to idiomatic Unicon code. 
Including using co-expressions etc.

regards

Bruce Rennie







------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to