propellor spin
This commit is contained in:
parent
73ad89d973
commit
5d8bd485cb
|
@ -17,5 +17,13 @@ Since only 2 places in the propellor source code currently need to deal
|
||||||
with this, it doesn't currently seem worth making the change, unless a less
|
with this, it doesn't currently seem worth making the change, unless a less
|
||||||
intrusive way can be found.
|
intrusive way can be found.
|
||||||
|
|
||||||
Hmm, if RevertableProperty were made a constructor in the Property GADT,
|
Probably related would be to make RevertableProperty a constructor in the
|
||||||
this would need to be done, and that would also allow for
|
Property GADT, which would allow more property combinators to work on
|
||||||
|
RevertableProperties. That would look like:
|
||||||
|
|
||||||
|
data Propety i where
|
||||||
|
...
|
||||||
|
RProp :: Property i1 -> Property i2 -> Property (CInfo i1 i2)
|
||||||
|
|
||||||
|
In this case, there's only one Info/NoInfo encompassing both sides, and
|
||||||
|
so ensureProperty could only be used on it if both sides were NoInfo.
|
||||||
|
|
Loading…
Reference in New Issue