Comments (8)
You could be forgiven for not expecting TFM to exist...
from contextual.
RTFM, Sam, RTFM.
from contextual.
Yes. How much work do you think is involved?
from contextual.
Probably not much to have something that just checks that the regex compiles (assuming no holes), but I have no idea how a linter would work.
from contextual.
We already have this, but it's the linting that could probably use some improvements...
from contextual.
This particular example is also begging for #5 to be implemented so you could write code like:
myString match {
case r"fo*bar" => ...
case r"(ba.)+" => ...
}
from contextual.
this does exist, but it was never published to maven... no contextual-data
packages up there
from contextual.
Arrived here via #5 as I searched for issues for people with issues.
from contextual.
Related Issues (20)
- How does type embedding work? HOT 1
- Don't depend on scala-compiler
- Scala 2.13 release HOT 4
- Error macro has not been expanded in Scala 2.13.0 HOT 2
- 'scala.reflect.macros.whitebox.Context' is missing from the classpath
- Outdated docs
- The latest Fury layer doesn't contain classes from the data module
- Check version 2.0.0 works correctly HOT 1
- Embedding custom types not working with version 2.0.0 HOT 7
- contextual version 3.0.0 prints interpolated text during compile HOT 4
- Represent substitution types with an `enum` HOT 1
- Offer type refinements on return types HOT 2
- Use `Text` instead of `String` in the Contextual API
- Check if there is a reason why `Interpolator` methods cannot be `protected`
- Provide a simpler `Verifier` type for interpolations without substitutions
- Obviate need to specify companion object twice
- Offer better error message when failing to substitute `Nothing`
- Make it easier to refine the return type
- Make `PositionalError` a top-level class
- Consider using `boundary`/`break` to avoid throwing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contextual.