-
a type can be marked with the `#[phantom]` attribute so that no instance of that type can be created. Add an example that does not compile about trying to instantiate a such type in the `Advanced Cair…
-
There's weirdness going on with `group` in the pretty printer. I don't really understand it, but I do understand that it can be solved with phantom types!
Following by @JonathanStarup
A `Doc` i…
-
I wanted to extend the [TypeShed types for the `defusedxml` package](https://github.com/python/typeshed/tree/main/stubs/defusedxml), as they seem to be incomplete. However, types for the same package …
-
Had a look at your phantom types test. Here is a small fix for the generic casting, as well as an attempt to answer the "what happens if you have multiple phantom types" question.
```nim
# phantmo…
-
Outline:
* What are phantom types, and how they can be used?
* Why use phantom types?
[Slides](https://www.dropbox.com/s/w987p8x12quur5q/phantom%20types%20v2.pptx?dl=0)
-
It feels a little bit weird that we can put any type in place of the second parameter of `LeftQuaternion` or `EulerAngles`. Perhaps, this is not a problem on `mint` side, since you can always abuse it…
kvark updated
7 years ago
-
This might require base-4.10.0.0 to use Type Reflection and split a type into its kind size.
https://hackage.haskell.org/package/base-4.10.1.0/docs/Type-Reflection.html
```haskell
proxyToTypeRep …
-
Examples of Composite Types: Decimals, Collated Strings
Technical Justification: Decoding a primary key with a composite type requires reading the current value. When the rangefeed sends over a de…
-
Explanations: Add "Phantom" section, with the following subsections:
- Phantom structure
- Motion: by the moment, SimpleMotion and simple motion types
- .phantom file format
-
This issue will help coordinate efforts on https://github.com/rtfeldman/elm-css/issues/375 (the [`phantom-types` branch](https://github.com/rtfeldman/elm-css/tree/phantom-types))
If you'd like to p…