Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change Codomain of Located to Point (Codomain a) #102

Merged
merged 1 commit into from Sep 5, 2013

Commits on Sep 5, 2013

  1. change Codomain of Located to Point (Codomain a)

    switch from
    
      Codomain (Located a) = Located (Codomain a)
    
    to
    
      Codomain (Located a) = Point (Codomain a)
    
    When calling atParam on e.g. a Located (Trail R2), I expect to get a
    P2, not a Located R2 (though of course the latter can be converted to
    the former).
    
    This also means that instead of requiring constraints of the form
    
      V (Codomain a) ~ V a
    
    we instead have
    
      Codomain a ~ V a
    
    which makes more sense: we can only add a location to
    translation-invariant things, and translation-invariant parametric
    things are precisely those things whose codomain is a vector space.
    Brent Yorgey committed Sep 5, 2013
    Copy the full SHA
    e7a5fa7 View commit details
    Browse the repository at this point in the history