New API
See original GitHub issueGiven that the type Block
is about to be appropriated for immutable arrays, I’m contemplating a new API for this library. For now the best I can come up with is:
Block.validate // old
Block.value // old
Box.validate // new
Box.value // new
I’m leaving this issue open here if anyone has suggestions.
In case you’re wondering, it can’t just be validate
, it’s part of the trickery that allows one to only specify one generic parameter when in fact two are needed (i.e. validate<Text>
instead of validate<Text, TextError>
or similar) which I’m sure everyone agrees is too convenient to let go.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
News API – Search News and Blog Articles on the Web
News API is a simple, easy-to-use REST API that returns JSON search results for current and historic news articles published by over 80,000...
Read more >Top 10 Best News APIs ( in 2023) [60+ Reviewed]
The News API is a Google News and Bing News alternative. The API allows developers to search news from over 2,500+ Publishers around...
Read more >New API
New API is an interface to use interrupt mitigation techniques for networking devices in the Linux kernel. Such an approach is intended to...
Read more >Documentation
News API is a simple HTTP REST API for searching and retrieving live articles from all over the web. It can help you...
Read more >NewsData - News API to Search & Collect Worldwide News
Free News API to get JSON search results for live and historic news from 15000+ sources worldwide. Access real-time global news articles with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Incidentally, since this lib essentially generates results, it’s very likely to be used with yours, so much so that I couldn’t help myself from adding it to the live demo 🤷♂️
Thanks for pointing this out Jimmy, I’ll keep your API in mind to avoid conflicts, also I have no intention of going monadic style with this lib so even if they have to coexist with the same module name (which is not at all a given at this point), they’re clearly heading in different directions.