append is missing a closing paren.

It should work.

Ambrose

On Thu, Sep 29, 2011 at 8:21 PM, Baishampayan Ghose <b.gh...@gmail.com>wrote:

> On Thu, Sep 29, 2011 at 4:16 PM, Ambrose Bonnaire-Sergeant
> <abonnaireserge...@gmail.com> wrote:
> > (defn append [a b]
> >   (match [a b]
> >      [[] _] b
> >      [[x & as] _] (append as (cons x b)))
> > (defn or [b1 b2]
> >   (match [b1 b2]
> >              [true _] true
> >              [_ true] true
> >              :else false))
>
> Does the above code work?
>
> Regards,
> BG
>
> --
> Baishampayan Ghose
> b.ghose at gmail.com
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to