Permalink
Please
sign in to comment.
Browse files
Add `-` as a valid identifier character
Part of #31, requested by @scott-fleischman You can now use `-` in identifier names for all but the first character. That means that this is now legal code: ``` { resolver = "lts-8.1", extra-deps = [ "pipes-4.3.1" ] } ``` This primarily serves people who want to use "kebab-case" for their identifier names Normally languages do not support dash in identifier names due to ambiguity with the subtraction operator. For example, an identifier like `extra-deps` could be interpreted as `extra` minus `deps`. However, Dhall does not support subtraction and only supports unary negation so there is no ambiguity.
- Loading branch information...
0 comments on commit
aeb7d16