-
**Problem I'm trying to solve**
I have a table that really contains multiple item types. In SQLAlchemy I would make multiple models from this using Polymorphic Identity. I can't figure out how to do …
-
Namely, when you try to update a filed using the previous (current) state with a given function `f`, just write `x{it $= f}`.
-
Records have some nice destructuring:
```reason
type foo = {bar: string, baz: int};
let z = {bar:"blah", baz:123};
let {bar, baz} = z;
let f = ({bar, baz}) => bar;
```
Would be nice to have t…
-
The problem with the implementation is that it uses `A[i][i]` without checking if it's zero or not. If it happens to be zero, there will be division by zero. Trivially invertible matrices like `[[0,1]…
-
Hi,
In many cases it would be useful to treat some type as a subtype of another one. In the gist below, I describe a proposal to get this working in Numba
https://gist.github.com/luk-f-a/9063ee…
-
## Problem (help wanted) - not sure how to change the label to help wanted
I am trying to understand how to query an abstract base class/model via a unique model field (guaranteed unique by each en…
-
Start implementation of a POC from issue #1 syntax definition
- [ ] Lexer
- [ ] Parser
- [ ] Type Inference
- [ ] Type Checking
... we'll add the rest when needed.
-
At first glance this project seems to be quite similar to [sanctuary-def][1]. A summary of the differences between the two libraries would be useful. :)
[1]: https://github.com/sanctuary-js/sanct…
-
×
Unit 2
Objects
- initializing objects using constructors
- call methods on objects to do things
Wrapper
- wrapping and unwrapping primit…
-
In the discussion for Tuples (#81), @luxspes brought up the issue of record types, a variant of tuples which are particularly important to databases and relational algebra.
One database given was:
`…