For some reason this:
(for/last : (U Index #f)
    ([i : Index (ann (in-range 5) (Sequenceof Index))])
    i)
Is giving me this error:
. Type Checker: type mismatch
  expected: False
  given: Index in: (for/last : (U Index #f) ((i : Index (ann (in-range 5) 
(Sequenceof Index)))) i)

Why is it expecting False?
And is there some type annotation I can put somewhere to fix it or anything?


____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to