Keith Kim
Keith Kim
A database implementation isn't in the same category as programming languages. We wouldn't list each YAML implementation as a language so why do we list implementations of SQL as languages....
#### Input [→ View on sorbet.run](https://sorbet.run/#%23%20typed%3A%20true%0Aextend%20T%3A%3ASig%0A%0Asig%20do%0A%20%20params(%0A%20%20%20%20x%3A%20T.any(%7Ba%3A%20Integer%7D%2C%20%7Bb%3A%20String%7D)%2C%0A%20%20).void%0Aend%0Adef%20foo(x)%0A%20%20T.reveal_type(x)%0Aend%0A%0Afoo(%7Ba%3A%201%7D)%0Afoo(%7Bb%3A%201%7D)%0Afoo(%7Bc%3A%201%7D)%0A) ```ruby # typed: true extend T::Sig sig do params( x: T.any({a: Integer}, {b: String}), ).void end def foo(x) T.reveal_type(x) end foo({a: 1}) foo({b: 1})...
I see the TODO at the bottom of the README. Do you happen to have a pointer where I could start to make it work with what's available now?
I'm having a situation here where I've settled on using a finite set of keys for storing unbounded number of items by binning them. During dev/testing I've run into a...
If the JSON contains a `version` field, then it would be possible to prevent accidental overwrites by having each writer pass in the version it's updating. The first would succeed...
#### Input [→ View on sorbet.run](https://sorbet.run/#%23%20typed%3A%20true%0Aextend%20T%3A%3ASig%0A%0Asig%20%7Bparams(x%3A%20Integer).void%7D%0Adef%20foo(x)%0A%20%20id%20%3D%20Integer(%22zero%22%2C%20exception%3A%20false)%0A%20%20T.reveal_type(id)%0Aend) ```ruby # typed: true extend T::Sig sig {params(x: Integer).void} def foo(x) id = Integer("zero", exception: false) T.reveal_type(id) end ``` #### Observed output ``` #...
Issue #209 Package structure: Vertical over horizontal slicing Here's a first-go at organizing packages vertically by feature rather than layered by type. There's still some low-level layer package (e.g. network)...
Use github.com/karmakaze/go.tools which imported the Mercurial repo from code.google.com/p/go.tools/go/vcs