Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Dr.Scheme little program problem. Please help.

    Please help to write code on scheme language:

    Procedure (SUblists superlist) gets members that is it's lists. Procedure checks if all the members of sublists are numbers only.

    For example:

    (define YYY(list (list 5 8 3) (list 4 14 2)(list 12 -25 33)))

    (Sublists YYY) => #t

    (define ZZZ (list (list 12 'as 34)(list "gfrr" 45)(list 22 56 78)))

    (Sublists ZZZ) => #f

  • #2
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,280
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •