Marc Weber

Results 74 issues of Marc Weber

Getting tips for commits will only lead to one thing: People generating more commits for nothing eventually (just to earn more ..). Payments should always be given for reaching a...

``` const list = range(1,100) const stream = new Stream() const add_to_stream = async () => { stream.write(something) stream.end() // would end for all other users } Promise.all(list.map( x =>...

Thanks to people @ #ocaml chatroom I was able to find this implementation to make deriving derive show for datatypes containing functions: ``` method function_ ctxt f = > ```...

http://drake.rubyforge.org/ says "A branch of Rake supporting automatic parallelizing of tasks" Your github repository is called "rake", not drake. rake also has -j. So your documentation should be updated telling...

I find such mapping also deleting the , pretty useful when moving arguments first: ``` map dA, da,:let @* = substitute(@*, '^, \s*', ''", ''") ``` you may want to...

```rust async fn run(options: Opt) -> Result { let (certs, key) = if let (Some(key_path), Some(cert_path)) = (&options.key, &options.cert) { key_log let key = fs::read(key_path).context("failed to read private key")?; let...

The keyword snippet is the most often used word. Yet it doesn't show up first. If you have code like ``` snippet is_cross stdenv.hostPlatform != stdenv.buildPlatform ``` and you write...

See https://github.com/MarcWeber/neovim-luajls Whether fixing this library is worth it or not up to author See #9

If you come from JS world you expect await to await a promise. Thus awaiting multiple times should yield the same result. A mature promise library seems to be this....

In Haskell you can do ``` foo: Show a; a -> IO () foo = print . show -- same as foo a = print (show a) ``` How would...