Skip to content

Use in-directory in typed racket #1442

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

Open
Antigen-1 opened this issue Mar 12, 2025 · 0 comments
Open

Use in-directory in typed racket #1442

Antigen-1 opened this issue Mar 12, 2025 · 0 comments

Comments

@Antigen-1
Copy link

What version of Racket are you using?
Welcome to Racket v8.16 [cs].

What program did you run?

$ racket -l typed/racket -i
> in-directory
- : (->* () ((U False Path-String) (-> Path Any)) (Sequenceof Path))
#<procedure:in-directory>
> (for ((p (in-directory #f (lambda ((_ : Path-String)) #f))))
    p)
string:1:0: Type Checker: missing type for identifier;
 consider using `require/typed' to import it
  identifier: initial-state
  from module: for.rkt
  in: (for ((p (in-directory #f (lambda ((_ : Path-String)) #f)))) p)
 [,bt for context]

What should have happened?
This form should have been evaluated successfully.

If you got an error message, please include it here.

Please include any other relevant details

$ uname -a
Linux fedora 6.13.5-102.bazzite.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Feb 28 10:23:59 UTC 2025 x86_64 GNU/Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant