liqd / aula

An online platform for political participation in schools in Germany (not in active development)
https://liqd.net
Other
27 stars 5 forks source link

Deriving `Data` for most types #1014

Closed np closed 7 years ago

np commented 7 years ago

Could we derive the CoDelegationMap from the DelegationMap?

andorp commented 7 years ago

I would use the setDelegation function, generate a list of (userA, space, userB) triplets and fold over the list.

np commented 7 years ago

@andorp do you think that gshrink is correct or is it safer to leave it out.

fisx commented 7 years ago

@andorp do you think that gshrink is correct or is it safer to leave it out.

I guess the time to worry about this more is when we get failing test cases? :-)

fisx commented 7 years ago

LGTM!

I've fixed the Delegations shrinking issue after all. Can be merged when travis agrees.

fisx commented 7 years ago

thanks!