PasteRack.org
Paste # 69840
2017-03-21 16:25:43

Fork as a new paste.

Paste viewed 76 times.


Embed:

  1. #lang racket
  2. ;calculating the area of a circle
  3. (define (areaOfCircle radius)
  4.    (* pi radius radius))
  5.  
  6. ;(areaOfCircle 7)
  7. (check-within (areaOfCircle 9) 254.7)

=>

check-within: undefined;

 cannot reference an identifier before its definition

  in module: 'm