-
The compiler complains if a polymorphic function recursively calls the same function with a different type parameter.
## SSCCE
```elm
silly : List a -> String
silly xs =
case xs of
…
-
See [this discussion on twitter](https://twitter.com/plt_amy/status/1534242510700175360) that points to [this code on 1Lab](https://1lab.dev/Cat.Functor.Adjoint.Hom.html) that appears to do just that.
-
The following have been reported on the compiler, but I believe now it to be a problem with Mdoc, that scastie and the repl use
https://github.com/lampepfl/dotty/issues/17000
https://github.com/lamp…
-
Hi,
I have an issue in django-polymorphic when deleting models from django-admin.
Models are defined as below
``` python
class Farm(models.Model):
class Meta:
pass
class Animal(Polymor…
-
https://github.com/VinylRecords/Vinyl
> Vinyl is a general solution to the records problem in Haskell using type level strings and other modern GHC features, featuring static structural typing (wit…
bennn updated
3 months ago
-
I have a polymorphic model that I made and it has many child models which I want the users to be choosing dynamically, posting the first product has no issue, I was able to select the form to send to …
-
```
class Resource
include Mongoid::Document
has_one :license, as: :licensee, autosave: true
[...]
end
class License
include Mongoid::Document
belongs_to :licensee, polymorphic: true, i…
djvs updated
10 years ago
-
Consider a class with an `@Untainted` upper bound. All instances of this class are guaranteed to be `@Untainted`. Thus, if we have an instance of `@PolyTainted MyClass`, we actually know that it will …
-
While the JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY works fine normally, there is an issue when using it along with @JsonTypeInfo and its JsonTypeInfo.As.EXTERNAL_PROPERTY feature (regular PROPE…
-
**Problem (excuses for the long description) - Version: 2.13**
I am trying to use the JsonTypeInfo.Id.DEDUCTION method which is described [here](https://cowtowncoder.medium.com/jackson-2-12-most-wa…