Standard collection of interpolators?
See original GitHub issueScala and Java both have lots of types that are initialised from a string, where an illegal string will compile but fail at runtime. It’d be great if Contextual could provide standard modules for such types.
I’ve often felt the need for such a tool for:
- joda’s DateTimeFormatter
- java8’s DateTimeFormatter
java.net.URL
java.net.URI
I’m sure there are a lot commonly used types out there that would benefit from a literal syntax.
Happy to lend a hand or even write most of these, but if you feel this is a good idea, the structure needs to come from you - do you want that to be a completely separate library that depends on Contextual? Standard Contextual modules that live in this repository?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:24 (6 by maintainers)
Top Results From Across the Web
Interpolation - Wikipedia
... interpolation is a type of estimation, a method of constructing (finding) new data points based on the range of a discrete set...
Read more >CurveInterpolators (OpenGamma Strata)
The standard set of curve interpolators. Field Summary. Fields. Modifier and Type, Field ...
Read more >Characteristics of Interpolation Methods
This section describes the characteristics of interpolation methods in general. ... methods take into account uncertainty in the measured data set.
Read more >Interpolate Points (Standard Feature Analysis)—ArcGIS Pro
ArcGIS geoprocessing tool that predicts values at new locations based on measurements from a collection of points.
Read more >REE series digital interpolators Data Sheet - Renishaw
REE interpolators are designed to be used with industry standard 1 Vpp readheads. Cos (V1), Sin (V2 ) and reference mark (V0) differential...
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
It might be worthwhile having Contextual provide just the data representations of these things, with no interesting methods implemented, and have the actual interesting stuff (e.g. an HTTP POST method on a URL) provided as extension methods in other libraries.
out-of-the-box parser for stdlib data types would be awesome! Support for
Instant
would be 💯I will probably put one together, you’re welcome to it, but I’m sure you’re aware how trivial it is.