Skip to content

Commit

Permalink
minor changes from walkthrough with Brent
Browse files Browse the repository at this point in the history
  • Loading branch information
dmwit committed Jun 3, 2013
1 parent ead7bf8 commit f1c7918
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -60,7 +60,7 @@ aren't they in the app rules?)

(var)
G(x) = s
G |= M t <= s
G |= s <= M t
-------------
G |- x => M t

Expand All @@ -74,4 +74,5 @@ So, good next steps:
include rules for "lift" and "return" and the specialized Id-"lift".
2. write down the typing rule for let
3. how annoying is type-level application?
4. can using the standard rule instead of the nonstandard one reduce the number of monad law applications we need to use to get something reasonable?
4. can using the standard rule instead of the nonstandard one reduce the number
of monad law applications we need to use to get something reasonable?
2 changes: 1 addition & 1 deletion TC.hs
Expand Up @@ -23,7 +23,7 @@ data Type
deriving (Eq, Ord, Show, Read)

data Constraint = MonadVar :> MonadVar deriving (Eq, Ord, Show, Read)
data Scheme = Forall [String] [Constraint] MType deriving (Eq, Ord, Show, Read)
data Scheme = Forall [Variable] [Constraint] MType deriving (Eq, Ord, Show, Read)
type Context = [(Variable, Scheme)]

newtype Letter = Letter { unLetter :: Char } deriving (Eq, Ord)
Expand Down

0 comments on commit f1c7918

Please sign in to comment.