Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The "count" function does not behave as SRFI-1 specified. #155

Open
GoogleCodeExporter opened this issue Aug 19, 2015 · 2 comments
Open

Comments

@GoogleCodeExporter
Copy link

None of the three examples of the "count" function in SRFI-1 works in Ypsilon 
0.9.6-update3 (from 
http://old-releases.ubuntu.com/ubuntu/pool/universe/y/ypsilon/ypsilon_0.9.6.upda
te3-7ubuntu1_amd64.deb).

> (import (srfi :1))
> (count even? '(3 1 4 1 5 9 2 5 6))

error in apply: expected proper list for last argument, but got 3

backtrace:
  0  (count even? '(3 1 4 1 5 9 2 5 6))
  ..."/dev/stdin" line 1

> (count < '(1 2 4 8) '(2 4 6 8 10 12 14 16))

error: #<closure 0x6aad82e0> expected 2, but 3 arguments given

irritants:
  (1 2 0)

backtrace:
  0  (count < '(1 2 4 8) '(2 4 6 8 10 12 14 16))
  ..."/dev/stdin" line 1

Original issue reported on code.google.com by noctuor...@gmail.com on 2 Mar 2013 at 2:33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant