Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Scheme Programming Language

matching zero or one occurrence in syntax-rules


Hi -

matching zero or more occurrences is quite easily done in syntax-rules
with ellipses, but how to match zero or one occurrence?  So far I
found that I have to write separate rule for each or use syntax-case/
with-syntax to do custom processing to handle the logic - my question
is: are there tricks/techniques/best practices for matching zero or
one occurrences that remove the need to write separate rules?

Thanks,
yinso

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc