nlfiedler / bakeneko

Scheme R7RS interpreter in Go
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Test Pair.Map() on improper lists #54

Open nlfiedler opened 10 years ago

nlfiedler commented 10 years ago

Seems like passing an improper list (e.g. (1 2 3 . 4)) to Pair.Map() will result in a new proper list, which is probably not correct. Should form an improper list as the result when the input is itself improper.