summaryrefslogtreecommitdiff
path: root/Structures.agda
AgeCommit message (Collapse)Author
2014-03-10implement a bff on a shaped source typeHelmut Grohne
Add IsShaped and Shaped records describing shapely types as in Jay95. Implement bff on Shaped and rewrite PartialVecVec to use the vector shape retaining all proofs on the vector implementation.
2014-03-07add a Functor structureHelmut Grohne
The intent is to replace some uses of Vec with a structure that also happens to be a functor. RawFunctors from the standard library provide no laws though, so we define a Functor structure that adds the laws. As an additional law congruence is added, because * Other standard library structures in Algebra.Structures also require congruence. * Otherwise the identity law would have to reason about different identities.