Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

lisp programmers?

Options
  • 02-02-2006 5:56pm
    #1
    Registered Users Posts: 2,648 ✭✭✭


    Hey, anyone able to "translate" what this means?

    (def-rule unmatch_fem
    (((unmatch_fem ?s)
    (female ?s)
    (purchase_item ?s bike))
    ((unmatch_fem ?s)
    (female ?s)
    ;(aged_more_60 ?s ?b)
    (deposit ?s ?b)
    (monthly_payment ?s ?c)
    (numb_of_months ?s ?d)
    (is ?m (* ?c ?d))
    (> ?m ?b))))

    Should give back a 1 or 0 answer, I'm just getting tied up in it, I'm not a lisp programmer -- so english, or even C would help.

    cheers.


Advertisement