-
like https://kotlinlang.org/docs/reference/type-safe-builders.html
-
Take a look on [Phantom](https://github.com/outworkers/phantom) DSL:
```def getSearchesCountByTime(from: DateTime, to: DateTime, limitSize: Int): Future[List[DateTime]] = {
select(_.client_reque…
-
Only numeric values as supported as members of Corto structs in the Cortopy objects. They include type check because Python members support all sizes of signed and unsigned ints as member types.
In o…
-
## Problem
I have the scenario where I want to decide at runtime which service to inject.
```csharp
public interface IExampleService;
public class ExampleServiceA : IExampleService;
public clas…
cn-ml updated
9 months ago
-
Code Insights has two databases it interacts with, both `pgsql` and `codeinsights-db`. In some environments (at the moment dev) these are actually the same database. When we pass handles into stores w…
-
Suppose we have a length stored in `u32`. How could I convert its storage type to `f64`?
So far it can be done by this unsafe way:
```rust
let u32length = uom::si::u32::Length::new::(5);
let f64…
-
I am interested in having a slightly more generic type-safe interface to wiringpi.
Specifically this entails having variants `pin = .. | GPIO4 | GPIO5 | ..`, `pin_mode = IN | OUT`, etc, and make all …
-
The only form of cast expression we have is intended to completely bypass the type system. This is like most forms of casting in C (not counting conversions) -- it never fails either at runtime or at …
-
Related to https://github.com/47deg/helios/pull/13
There is a problem lied with the meta compiler. More specifically when generating encoders/decoders for product types that depend on other encoder…
-
Currently, each mounted component (as part of `Router`) gets as props the `arg` in `Router RouteProps arg`, by virtue of `RouteProps arg`.
But if I have an ADT:
```haskell
type Query = String
…