-
Now with PS supporting polymorphic labels there is no need in phantom rows. We can use `RowCons` for this. E.g.
```
lineSeries :: forall r rr. RowCons "series" LineSeries r rr => LineSeriesR -> r -…
-
Currently, if we have a simple phantom type like this in Haskell:
```haskell
newtype Id a = Id { unId :: Text }
```
there exists a valid elm equivalent of:
```elm
type Id a = Id { unId : S…
arbus updated
5 years ago
-
look how much you can simplify your stats module using phantom types
```purescript
module Game.Data.Stats where
import Prelude
import Data.Argonaut.Decode (class DecodeJson)
import Data.Argonau…
-
I'm working on having `Css.Value` use phantom types. (More on what this means below.)
If you're using `elm-css`, you may not even notice this change when it comes out (except that you may notice th…
-
This would greatly improve the readability of the "Pulse Sequence" without needing to guess the units. Although we haven't tested it yet, it should not be difficult.
-
Since you've asked for feedback. :smile:
As far as I understand, you've used type-level computations to solve the problem of modeling the FLTK class hierarchy. This has some issues; for instance, I h…
-
## Summary
It would be great if the compiler supported the explicit selection of functions in Qualified `do` and `ado` notation with phantom types, which is the only syntactic sugar we have in Pure…
-
Phantom handling in Rust codegen is not correct I believe https://github.com/mlabs-haskell/lambda-buffers/blob/401f8a920a557c71440795174da199a1e128c4f9/lambda-buffers-codegen/src/LambdaBuffers/Codegen…
-
## Context
I have recently found myself doing some work that involves storing function-like items in structs along with other data, which involves a field of some generic type `F` that is going to im…
-
There should be a way of saying to ignore a whole type when you register it. For example, marker types such as PhantomData.
https://github.com/bevyengine/bevy/pull/15313#issuecomment-2365454473
Rel…