https://github.com/alexknauth/typed-racket-stream
streams for typed racket
https://github.com/alexknauth/typed-racket-stream
Last synced: 3 months ago
JSON representation
streams for typed racket
- Host: GitHub
- URL: https://github.com/alexknauth/typed-racket-stream
- Owner: AlexKnauth
- License: mit
- Created: 2015-04-07T03:53:51.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2025-01-26T00:22:46.000Z (5 months ago)
- Last Synced: 2025-01-30T11:13:04.239Z (5 months ago)
- Language: Racket
- Homepage:
- Size: 19.5 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
typed-racket-stream
===
A typed wrapper for using streams in typed racket.Typed racket (as of racket version 6.3) doesn't have a type for streams, so this
uses `(Sequenceof a)` as the type for streams. Every stream is a valid sequence,
but not every sequence is a valid stream. It will raise an exception late at
runtime when given a sequence that is not a stream.