3 ms·
This looks interesting, and I’d love to know more, for example what is Cue’s approach to validating sequences? I’d spend more time trying to answer that questi
by thom 5y ago
This looks interesting, and I’d love to know more, for example what is Cue’s approach to validating sequences?
I’d spend more time trying to answer that question myself but this site wants me to read an awful lot of philosophy before showing me any code. I dislike homepages like this. I’d rather you assume I buy into your philosophy, otherwise I’d leave, so you’re free to just show me what the language is like. When you do that, I’m more interested in examples than EBNF.
- jozvolskyef 5y agohttps://cuetorials.com/ https://cuetorials.com/ is probably more hands-on than the homepage which is slightly more theoretical. For validating sequences see https://cuelang.org/docs/tutorials/tour/types/lists/ https://cuelang.org/docs/tutorials/tour/types/lists/ .
- thom 5y agoBrilliant, ta! I guess I was hoping for something more like linear temporal logic perhaps. What we’ve found with lots of validation libraries is that doing “if this then expect that” kind of rules on sequences is quite difficult.