mercredi 7 novembre 2018

How to use the mod function on LISPS using control structures

I am new to the LISPS, is there a way of using mod with control structures, 'if' statements.

for instance having (if(mod 4 2)(+ 2 2)(- 9 2)). What does the parameter return, 0, nil, T?

Aucun commentaire:

Enregistrer un commentaire