-
Extremely hypothetical. Might be unnecessarily complex.
```bonobo
type Circle { radius: Int }
type Triangle { base: Int, height: Int }
type Shape = Circle | Triangle
fn area (shape: Shape): D…
-
Many functional languages come with a neat data type idea often called sum types.
https://en.wikipedia.org/wiki/Tagged_union
```
type Tree =
| Leaf
| Node of value: int * left: Tree * rig…
-
Hi, we have a Kafka topic with values of Avro type union of two Avro types (any message is of one or another type). When we have union types for fields, we know how to work with them in the Avro Hugge…
-
Now that arrays with `Union` of bitstypes elements have an optimized layout, it would be useful if one could `mmap` them. Alternatively, exporting the API that would allow the user to `mmap` the const…
tpapp updated
6 years ago
-
I have this sample RAML file:
```
#%RAML 1.0
title: Test Case
version: 1.0
mediaType: [ application/json ]
types:
Obj1:
type: object
description: The Obj1 description
prope…
-
Hi,
I'm seeing the following error on my laptop (versioninfo below):
```jl
julia> using StaticArrays
julia> A = @SMatrix rand(3,3)
julia> StaticArrays.svd(A)
ERROR: MethodError: no method…
-
The types via `node_modules/bowser/index.d.ts` aren't extremely useful
Most variables are just `string` rather than explaining what the actual values could be (eg `'MacOS' | 'Windows'` or `'macos' …
-
### Describe the bug
Currently we will directly return the raw response for union cases in sample generation, this will exist issues when model have different serializeName and client name. I think w…
-
Assume we have the following type definitions:
```yaml
types:
EventType:
type: object
properties:
eventTypeId:
type: string
eventTypeName:
type: str…
-
Conjure's union types can end up being extremely inefficient in terms of bytes in the wire format, for example when encoding ASTs (where there is generally a lot of polymorphic branching). The double-…
raiju updated
5 years ago