[plt-scheme] Defining structures

From: Jos Koot (jos.koot at telefonica.net)
Date: Wed Feb 18 14:17:16 EST 2009

(define a 'a-symbol)
(set! a 300)
  ----- Original Message ----- 
  From: aditya shukla 
  To: Grant Rettke 
  Cc: plt edu ; PLT Scheme ML 
  Sent: Wednesday, February 18, 2009 7:52 PM
  Subject: Re: [plt-scheme] Defining structures

  A question that comes to mind if variables in scheme do not have type in scheme thus can be say that

  (define a 9) -here a is a placeholder for a value whose tag is a number

  > (define a 'aditya)
  define: cannot redefine name: a

  why can't we redefine a here?



    For list-related administrative tasks:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090218/17bd540f/attachment.html>

Posted on the users mailing list.