RU beehive logo ITEC dept promo banner
ITEC 380
2009spring
ibarland

homeinfolecturesexamshwsarchive

displayDeprecationNoticeAsOf(2009,05,31+01, "http://www.radford.edu/itec380/")

lect04
cf Java

Review list functions:
  count-evens
  count-good-items
  filter

; filter-less-than : real (list-of real) -> (list-of real)
(define (filter-less-than threshold data)
   ...)
   ; How to write this, by calling filter ?


  lambda
  Higher-order functions!

Typed scheme:
module with contracts,
and
using that module.





language shorthand:
  let*
  #;
  list vs cons;    '  `  ,  ,@


Compare the same code in Java vs Scheme
  The methods first, rest.


Java's loops;  the sublist method.


UtilIan.java/






homeinfolecturesexamshwsarchive

displayDeprecationNoticeAsOf(2009,05,31+01, "http://www.radford.edu/itec380/")
©2009, Ian Barland, Radford University
Last modified 2009.Feb.16 (Mon)
Please mail any suggestions
(incl. typos, broken links)
to iba�rlandrad�ford.edu
Powered by PLT Scheme