-
The ability to have multiple functions with the same name and different types is very nice, but there are still situations where ad-hoc polymorphism is useful.
An example is a function which calls …
Pauan updated
7 months ago
-
`const also = (func, var) => [func(var), var]]`
`const concurrent = (fns, var) => append(id, flip(map)(applyTo(var)))`
`const progress = (fns, var) => scan( (acc, fn => fn(acc ), var)`
`also(toUp…
-
# Lowering of extensions
[Extensions](https://github.com/dotnet/csharplang/blob/main/proposals/extensions.md) are "transparent wrappers", that allow types to be augmented with additional members an…
-
#### Describe the bug
When adding a custom Script to an object (such as a room) with `obj.scripts.add(MyScript)`, where `MyScript` has a key defined on it, that script cannot then be found with `obj.…
-
Looking at the mess Rust has created with its handling of mutability, and also the confusion l-values and r-values cause in C/C++ I think a simpler model is needed for mutability. I also think that mu…
keean updated
3 years ago
-
Since `doobie.ConnectionIO` just can provide `summon[Sync[ConnectionIO]]`, so I can't simply use cats-effect-cps in `ConnectionIO`. Is there any support if possible?
-
With the introduction of subtyping, natural representations of Top and Bottom exist: type any, given by X as X, is Top, whilst type void is Bottom.
Unfortunately, since Bottom is a subtype of every…
-
Short of Gambit's own native module/package system I am using gerbil's, which is quite nice to work with.
In order to facilitate adoption, we could have a searchable package metadata repository. Th…
-
# Current state of things
Assuming that dart-lang/jnigen#118 gets merged, arrays are instantiated this way (See https://github.com/dart-lang/native/issues/720):
```dart
JniIntTypeClass().newArr…
-
### Bug description
Apologies if I didn't understand the feature, but from the example here: https://docs.modular.com/mojo/manual/traits.html#trait-inheritance this should work:
### Steps to r…