Write Scheme Functions Following Operations 1 Found E Ist Returns T Ife Element List Lst O Q37301054

Programming Languages Question:

I just need 4 & 5 answered, ignore 1,2,3.

Write your own Scheme functions for the following operations: 1. (found e Ist) that returns #t ife is an element of the list

Write your own Scheme functions for the following operations: 1. (found e Ist) that returns #t ife is an element of the list lst. Otherwise, return if 2. (set? 1st) that returns #tif the list 1st is a set (contains all different elements); (use/ound) 3. (square? n) that returns #tif n is a square (eg. 0 1 4 9 16 ). Otherwise, return #f

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.