Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexknauth/typed-racket-stream

streams for typed racket
https://github.com/alexknauth/typed-racket-stream

Last synced: about 1 month ago
JSON representation

streams for typed racket

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.