diff --git a/README b/README index 3defce03cf908e8ae7b3787c38f2777c02c26a80..62cde22b320deb52a2fc81242e2219934b3b68c9 100644 --- a/README +++ b/README @@ -1,4 +1,9 @@ +THIS LIBRARY IS BEING DEPRECATED IN FAVOR OF OPTIMA. +PLEASE USE OPTIMA INSTEAD. + https://github.com/m2ym/optima/ + I've decided to consolidate pattern matching libraries. + http://fare.livejournal.com/169346.html Optima is a much better library than fare-matcher, which was a proof of concept, really. diff --git a/matcher.lisp b/matcher.lisp index e863751f3e6665b5a8477fb9bea834de0841d07f..90c32894b098bab20f585e626f723315c5d4adce 100644 --- a/matcher.lisp +++ b/matcher.lisp @@ -4,7 +4,10 @@ #+xcvb (module (:depends-on ("packages"))) #| " -This software is now being packaged for use with asdf-install. +THIS LIBRARY IS BEING DEPRECATED IN FAVOR OF OPTIMA. +PLEASE USE OPTIMA INSTEAD. + https://github.com/m2ym/optima/ + The homepage for this software is http://www.cliki.net/fare-matcher In case you want the latest version of the software, check the git repo at: @@ -21,14 +24,11 @@ or a MIT license. Yes they can. Of course, if they choose a proprietary software license, they only deserve scorn. But even that, they may do! - See examples of use at the bottom of the file, and in other files in this repository. Help wanted in writing documentation. (I'd help you write it by answering your questions.) -Install this package with: -(asdf-install:install :fare-matcher) ; XXX FIXME Use this package with: (asdf:oos 'asdf:load-op :fare-matcher) " |# @@ -114,7 +114,7 @@ You'd write (bar a b c d e)) The pattern might look heavier, because we match forms with an explicit constructor in the head of a pattern, instead of matching nested lists as is, -with a few known "magic" values like &rest to introduce special behaviour. +with a few known "magic" values like &rest to introduce special behavior. But this design is precisely what makes the pattern matching more expressive: it makes the pattern language more regular, it makes it match the programming language, and most importantly, it makes it *extensible*.