Updated Feature suggestions (markdown)
This commit is contained in:
parent
685d2ef481
commit
158d7d9a97
|
@ -2,9 +2,9 @@ What features would you like to see in Nim
|
||||||
|
|
||||||
(Use [needed-libraries repository](https://github.com/nim-lang/needed-libraries) for asking for libraries in the Nim Ecosystem.)
|
(Use [needed-libraries repository](https://github.com/nim-lang/needed-libraries) for asking for libraries in the Nim Ecosystem.)
|
||||||
|
|
||||||
- Additional string concatenation at assignment. Example `let a = "a" + "b"` or `let a = "a", "b"`. Both resulting in the string "ab". `let a = "a", "b"` seems more appropriate since `echo "a", "b"` already works.
|
- ~~Additional string concatenation at assignment. Example `let a = "a" + "b"` or `let a = "a", "b"`. Both resulting in the string "ab". `let a = "a", "b"` seems more appropriate since `echo "a", "b"` already works.~~ There is `"a" & "b"`.
|
||||||
|
|
||||||
- Range to sequence and array. Example `let a = [1..3]` would be the same as `let a = [1, 2, 3]`, both resulting in `[1, 2, 3]`
|
- ~~Range to sequence and array. Example `let a = [1..3]` would be the same as `let a = [1, 2, 3]`, both resulting in `[1, 2, 3]`.~~ There is `import sequtils; let a = toSeq(1..3)`.
|
||||||
|
|
||||||
- "pure" mode - force usage of scoped variables (unless imported by from... import) and exact case match (like golang does).
|
- "pure" mode - force usage of scoped variables (unless imported by from... import) and exact case match (like golang does).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue