Last change
on this file since 289 was 2, checked in by Rick van der Zwet, 15 years ago |
Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)
|
File size:
970 bytes
|
Rev | Line | |
---|
[2] | 1 | /*
|
---|
| 2 | * Rick van der Zwet
|
---|
| 3 | * 0433373
|
---|
| 4 | * Scheme programming assigment 1a
|
---|
| 5 | * Licence: BSD
|
---|
| 6 | * $Id: README.txt 379 2007-12-11 16:18:01Z rick $
|
---|
| 7 | */
|
---|
| 8 |
|
---|
| 9 | 1)
|
---|
| 10 | Scheme implemented/documented in exercise1a.scm
|
---|
| 11 | C++ implemented/documented in exercise1b.scm
|
---|
| 12 |
|
---|
| 13 | The main differences between programming in C++ and scheme are caused
|
---|
| 14 | due the fact that that input in scheme actually means something on which
|
---|
| 15 | operations could be preformed. In C++ the input is just treated as a
|
---|
| 16 | normal string and their needs to be an whole lot of logic around it to
|
---|
| 17 | make it meaningfull.
|
---|
| 18 |
|
---|
| 19 | It just seems of writing the scheme core code for a particular
|
---|
| 20 | application, which requires a whole lot of thinking
|
---|
| 21 |
|
---|
| 22 | 2)
|
---|
| 23 | Scheme implemented/documented in exercise2.scm
|
---|
| 24 | In order to have this implemented you will need take close watch of the
|
---|
| 25 | internal data representation, we could see and distigust serveral
|
---|
| 26 | things:
|
---|
| 27 | * () = empty leaf
|
---|
| 28 | * (a) = leaf
|
---|
| 29 |
|
---|
| 30 | In order to breadth depth we need to add the remains of an found tree to
|
---|
| 31 | the end.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.