-
User defined types does not seem very straight forward. After mucking around with it a bit, it appears that I need to fork the repo and rewrite a large portion of the code, include the "SPECIAL_TYPES"…
-
This library makes heavy use of defined types from db, con, chunks, vectors, etc.
I've always been confused about the need to initialize defined types before using them. I noted that this was requi…
-
Add support for user defined types.
It appears that a type is defined by:
- methods to encode/decode to/from MessagePack, YaML, JSON
- a cdata data type for LuaJIT to represent a tuple field in Lua
-…
-
Scientific code is written with underspecified types. There are values of different semantic meanings that are represented with the same `DataType` in the code. For example there are often many differ…
-
**Proposal**
||class|type|
|---|---|---|
|`Box`|✅|✅|
|`Box`|❌|✅|
|`int`|❌|✅|
That should make it clear that `$object::class` or `Box::class` only ever return the non-parameterized class name…
-
**Describe the bug**
Rascal throws 'ambiguous pattern type' error where I would not expect this.
**To Reproduce**
This is the most minimal example that I could find, unfortunately.
```
impo…
-
Define NODE_ADDON_API_ENABLE_TYPE_CHECK_ON_AS
Do not define NODE_ADDON_API_ENABLE_MAYBE
Symbol::WellKnown calls Napi::Env(env).Global().Get("Symbol").As().
That will trigger a fatal error because …
-
SCIM defines the following data types, and does not permit new types:
- String
- Boolean
- Decimal
- Integer
- DateTime
- Binary
- Reference
CIFER Core Schema has the following additional types:
- Co…
-
in terms of resource yield
-
So, during our discussion earlier today, @nikomatsakis brought up this interesting example of code that should really compile, we think:
```rust
existential type X: Sized;
trait Foo {
type…