programming-language
Here are 2,849 public repositories matching this topic...
-
Updated
Feb 25, 2020 - Kotlin
I think we can use either Clang.jl or a simple compile time C script to generate all the values in SuiteSparse_wrapper.c and build a .jl file of constants.
Can address JuliaLang/julia#20985 too.
I think we can also then try and bring back simultaneous support for 32 and 64-bit suitesparse.
V version: 0.1.24 5c6032d
OS: Linux 5.4.11_1 #1 SMP PREEMPT i686 GNU/Linux; voidlinux (glibc)
What did you do? Run the code from docs/doc.md line 309-312 in a fresh repl:
mut m := map[string]int
m['one'] = 1
m['two'] = 2
println(m['one'])
What did you expect to see?
1
What did you see instead?
tmV error: C error. This shoul
Would you create a getting started tutorial on how to use this programming language? I find it to be an interesting way to learn Traditional Chinese!
-
Updated
Feb 25, 2020
-
Updated
Feb 25, 2020 - Shell
-
Updated
Feb 25, 2020 - JavaScript
Is there some way to differentiate between comments and (doxygen-like) documentation?
Typically code comments are
// foo
/* foo */While doxygen and almost everything else uses the following:
/// foo
//! bar
/** foo */
/*! bar */Being able to get two different metrics would be extremely helpful in assessing "quality of documentation"...
Thanks!
This is probably related to if not identical to #1687, but we at least need a better error message.
switch(1+1) {
| 2 => ()
/*
works
*/
| _ => ()
}
switch(1+1) {
| 2 => ()
/
In the version deployed at http://play.witheve.com/#/examples/quickstart.eve the hover text for sidebar expand/collapse button is reversed. Look through the repo for the offending code but could not find it.
-
Updated
Feb 25, 2020 - Rust
-
Updated
Feb 25, 2020
Here is the documentation for @protected. It has several issues:
- It doesn't address extensions explicitly. Instance members of the
ontype of an extension can be accessed with an implicitthis, but an extension does not extend, implement or mix in the class enclosing such instance members. - The docs say the an
-
Updated
Feb 25, 2020
I quote from a recent conversation in red/help
Every built-in function has a specification which tells you what the (type of) result is. Or, at least, it SHOULD have this. The docstring of print, e.g., does not tell you its result is unset. Admittedly that might be added.
If HELP <built-in> would always show the type of result, problems such as with print could be avoided for new users.
When building docs for the stdlib, it seems that the file for the _TestRunner actor is not being generated, which results in the following warnings in MkDocs:
$ ponyc packages/stdlib --docs --pass expr
[snip]
$ cd stdlib-docs
$ mkdocs build
INFO - Cleaning site dir
We have an elvdoc tool that can extract comments like the following from Go sources:
//elvdoc:fn name-of-function
// Doc body
//elvdoc:var name-of-variable
// Doc bodyAnd it is being used to generate parts of https://elv.sh/ref/edit.html. However, we do not have such a mechanism for Elvish sources yet, and as a result https://elv.sh/ref/epm.html is still written "by hand"
-
Updated
Feb 25, 2020 - Java
-
Updated
Feb 22, 2020 - Clojure
@:enum abstract Volume(String) {
var Loud = "loud";
var Quiet = "quiet";
public function beep()
trace(switch this {
case Loud: 'BEEP';// --> Volume should be String
default: 'beep';
});
}In from haxe3 to haxe4 rc.3 this compiled fine. The new behavior is arguably more correct, but quite impractical.
- Have you checked the guidelines in our Contributing document?
Description
Hey I noticed at https://www.npmjs.com/package/phpjs it has the incorrect address of "http://locutus.nl", it should be "https://locutus.io/"
-
Updated
Feb 25, 2020 - Python
Here I have another suggestion, this time about our Gravity's CLI. I come up with this list of improvements which I think should benefit the project:
- If no arguments passed it should display help section instead of opening
REPL - To open
REPLadd a new flag for examplegravity --repl gravity new [project]- a new simple command to create new project. (A wizard which helps with co
-
Updated
Feb 25, 2020 - Swift
To the extent that Input and Output are separate to support easily porting the shell of UCM from one UI (CLI) to another (HTML), it's worth noting that the Input message of one is generally not meaningful in another.
If there are specific values in the Input constructor that are relevant to the output, just copy them into the Output constructor instead of passing through an arbitrary
Environment
- SuperCollider version: 3.10
- Operating system: macOS
Steps to reproduce
d = Dictionary();
d.put(\one, 1);
d.put(\two, "");
d.put(\three, nil); //doesn't add the key
d.keys; // -> Set[ two, one ]Expected vs. actual behavior
It seems we can't add nil to a Dictionary.
On
When compiling to Python with target set to any version above 3.x the type hints for functions and variables get wrapped in single quotes. This breaks functionality with some libraries which rely on type hints such as pydantic.
I first noticed it with Coconut: Version 1.4.1 [Ernest Scribbler] running on Python 3.7.4 but tested it out on the online interpreter with Python 3.3 3.4 3.5 and
-
Updated
Feb 25, 2020 - JavaScript
Improve this page
Add a description, image, and links to the programming-language topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the programming-language topic, visit your repo's landing page and select "manage topics."
What version of Go are you using (
go version)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env)?go envOutput