Search found 2 matches

by marckup
Thu Jun 16, 2011 10:01 am
Forum: Common Lisp
Topic: help, relationship transition lisp
Replies: 3
Views: 3864

Re: help, relationship transition lisp

marcoxa wrote:Ok... but what should the result be in case your input were ((A B) (B C) (C D) (H I) (I J))?

MA

in this case the result would be (AD) (HJ), ie A = D and H = J
by marckup
Thu Jun 16, 2011 2:19 am
Forum: Common Lisp
Topic: help, relationship transition lisp
Replies: 3
Views: 3864

help, relationship transition lisp

Hello, are new to lisp and I have a program (written in Lisp) that must compare pairs of lists and find the transitivity relationship between pairs of elements. Below shows an example mathematics: a = b, b = c, c = d, d = e, so results (according to the rules of mathematics) a = e in lisp is so ((A ...