Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

Conversation

@scottswift
Copy link
Contributor

@scottswift scottswift commented Jun 22, 2016

lets collect improvements to the docs and any changes you guys make here so we can all see them and talk them over

kovach and others added 5 commits June 20, 2016 18:14
We used to pattern-match on 'Just' everywhere we looked up a variable
binding in the type checker.  This would result in UM's 'fail' being
invoked.  This patch replaces the binding threeple with a dedicated
datatype and handles lookup failure with a more useful message in one
place.
unify pos tyb tyc
typeCheck (Specialize pos v cases dflt) = do
Just (vpos, vty) <- getBinding v
VB pos vty _ <- getBinding v
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, this is a bug -- and I think I can do VB _ vty _.

@scottswift scottswift changed the title new documentation scott/peddie/eric changes Jun 23, 2016
@scottswift
Copy link
Contributor Author

all looks good. @ejconlon do you want to look over it before we merge?

@scottswift scottswift merged commit a6b20c0 into master Jun 24, 2016
@scottswift
Copy link
Contributor Author

commit d315a8c ensures that input arguments (the default direction type) are not modified in the body of a function. previously, Plover could not detect this, but C compilation would ultimately fail when a const parameter was reassigned.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants