[Squeak-fr] [ANN] Nouvelle version de Prolog
Stéphane Rollandin
hepta at zogotounga.net
Sam 21 Juin 17:03:10 UTC 2008
c'est le code décompilé que tu as là. ce n'est probablement qu'un
question de mode d'affichage. il faut trouver le réglage qui affiche le
code source dans le browser (habituellement le bouton de droite).
Stef
Dreyfuss Pierre-André (EDU) a écrit :
> Salut Stephane
> image:
> Squeakland 3.8-05
> latest update: #556
>
> logicFather: assoc
> self
> unify: assoc key
> with: ((List with: 'John') add: 'Mary';
> yourself)
> then: assoc value.
> self
> unify: assoc key
> with: ((List with: 'John') add: 'David';
> yourself)
> then: assoc value.
> self
> unify: assoc key
> with: ((List with: 'David') add: 'Jack';
> yourself)
> then: assoc value.
> self
> unify: assoc key
> with: ((List with: 'Arthur') add: 'Nancy';
> yourself)
> then: [^ assoc value].
> answer isEmptyOrNil
> ifTrue: [^ nil].
> ^ answer asArray
Plus d'informations sur la liste de diffusion Squeak-fr