Fix readme.

Update readme
This commit is contained in:
Linus 2021-03-01 22:08:02 +01:00
parent 590ef97a4e
commit 32e16c300f

View file

@ -78,10 +78,8 @@ They allow you to write coroutine generators without having to deal with any nit
```
# Details
(yield ...) returns a "none"-value if no values are passed into the generator. You can test for it by using the none? procedure. Doing anything with this value unless testing if it is returned from yield is stupid.
If you want to check whether the yield returned a value, wrap it in (maybe-none (yield val)) and test it with none?.
# Make it better?
I would prefer to have an API more like python and make it possible to be more explicit about when you pass values in or out. This works though.
# Licence
Public domain, or CC0. Whichever work best in your jurisdiction. If you build something from this, i'd be delighted to be mentioned by name.