dstelow notes…

links for 2009-08-18

leave a comment »

  • This is a simple but elegant pattern match macro. It works like case, but allows you to match against patterns. These can destructure lists and pairs by binding their elements to variables, and can also contain tests against literals, type tests, and calls to arbitrary predicates in the patterns. The matcher should be easy to extend: it works by converting patterns into boolean functions which may, as a side effect, bind variables declared in the patterns.
    (tags: dev lisp scheme)
Advertisements

Written by dstelow

August 18, 2009 at 11:02 pm

Posted in 1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: