scsh-users
[Top] [All Lists]

Re: awk

To: schwartz@galapagos.cse.psu.edu
Subject: Re: awk
From: Olin Shivers <shivers@clark.lcs.mit.edu>
Date: Sun, 15 Jan 95 16:48:22 -0500
Cc: scsh@martigny.ai.mit.edu
Reply-to: shivers@mintaka.lcs.mit.edu
OK, go for it. 

Or, you could mark all of your syntax identifiers by capitalising them.
Since R4RS Scheme is case-insensitive, you could even apply this to existing
syntax (you'd have to define the capitalised-synonyms with macros in scsh,
tho): 

    (Define (add-square n)
      (Let ((sq (* n n)))
        (Lambda (m) (+ sq m))))

With your convention, this is

    (define: (add-square n)
      (let: ((sq (* n n)))
        (lambda: (m) (+ sq m))))

I'm happy with the status quo, but you've got the flexibility to do it either
way.
    -Olin

<Prev in Thread] Current Thread [Next in Thread>