git.iko.soy
/
elk
readme
files
commits
refs
on
63243ca
help
sign in
history of
compiler/Type/Constrain/Expression.hs
all commits
329077f
Get rid of input handlers for now
Evan Czaplicki
13 years ago
9dda928
make conversion functions for input ports optional
Evan Czaplicki
13 years ago
dc3bba7
Capture the entire type of the handler for incoming ports
Evan Czaplicki
13 years ago
3b9862a
Switch from Types to Variables in the representation of PortIn
Evan Czaplicki
13 years ago
39eb4c6
Use one fewer variable for PortIn constraints
Evan Czaplicki
13 years ago
7cf5a56
Add Expressions for ports to check and validate types nicely
Evan Czaplicki
13 years ago
6a8db4c
Get rid of dead dependencies and add -Wall for some files
Evan Czaplicki
13 years ago
6f75310
Get rid of redundant code that collapses ParseDefs
Evan Czaplicki
13 years ago
56ecbbc
Implement markdown interpolation
Evan Czaplicki
13 years ago
7e1d95a
Move the `markdown` function to the text library
Evan Czaplicki
13 years ago
7c159b2
Enable parsing of basic markdown interpolation
Evan Czaplicki
13 years ago
95ec3a8
Stop using `error` when constraining patterns and when instantiating source types
Evan Czaplicki
13 years ago
47d68d8
Succeed on programs that have no expressions
Evan Czaplicki
13 years ago
b7eb133
Fix subtle bug with rigidVars vs rigidQuantifiers, was quantifing over the wrong variables in a forall
Evan Czaplicki
13 years ago
a736a28
Properly quantify variables in Data expressions.
Evan Czaplicki
13 years ago
585107e
Fix variable shadowing when pattern matching on a pattern with only one variable, when it appears in a let-expression
Evan Czaplicki
13 years ago
2e38f7b
Give line numbers when there is a kind error in a pattern
Evan Czaplicki
13 years ago
51bc878
Use new Located datastructure, add source strings where appropriate
Evan Czaplicki
13 years ago
8e54751
Correctly generate a type for markdown blocks
Evan Czaplicki
13 years ago
b1f53d0
Pipe source locations through the type checker
Evan Czaplicki
13 years ago
a4c4cf0
Use `Location.none` less
Evan Czaplicki
13 years ago
b26edcc
Simplify representation of source locations
Evan Czaplicki
13 years ago
576e979
Simplify code to generate record constraints
Evan Czaplicki
13 years ago
46631c3
Remove dead code
Evan Czaplicki
13 years ago
0681fbe
Get rid of dead function and give instantiateTypeWithContext a shorter name
Evan Czaplicki
13 years ago
2b2bc08
Minor cosmetic change
Evan Czaplicki
13 years ago
9fe6c9a
Change functions for creating type variables, distinguish names of different constraint type variables
Evan Czaplicki
13 years ago
a05c82f
Mess with whitespace
Evan Czaplicki
13 years ago
d456cec
Overload literal numbers without a decimal point to be either Ints or Floats
Evan Czaplicki
13 years ago
175798f
Fix type constraints for case-expressions
Evan Czaplicki
13 years ago
d9471f6
Add flexible variables for type annotated values
Evan Czaplicki
13 years ago
4c0f716
Change the representation of SolverState to have a "saved environment", recognize the "Save the Environment" variable
Evan Czaplicki
13 years ago
a3a7b3e
Refactor type environment
Evan Czaplicki
13 years ago
fceb46d
Try to support polymorphic pattern matching
Evan Czaplicki
13 years ago
7f43392
Create module to sort let-blocks into "strongly connected components". This does two things:
Evan Czaplicki
13 years ago
4d7562f
Begin generating constraints for whole programs. Need to perform dependency sort within let-expressions for things to work properly though.
Evan Czaplicki
13 years ago
4208b5c
Remove some debugging stuff and generally clean up the code. There was one potential error in which a debug needed to be a liftIO, the computation it performed was not optional.
Evan Czaplicki
13 years ago
ca77056
Improve quality of error messages.
Evan Czaplicki
13 years ago
b5887f4
Get type inference working in the basic case. Begin working on printing errors in a prettier way.
Evan Czaplicki
13 years ago
497d478
Get the solver working on basic programs. It outputs pretty types for the variables in the program. Need to test further and start doing some benchmarking.
Evan Czaplicki
13 years ago
0ed7205
Add pretty printing for type constraints.
Evan Czaplicki
13 years ago
b87b845
Move the Environment.hs and Fragment.hs files down a directory.
Evan Czaplicki
13 years ago
ca8441f
Continue getting the new type-checker in order.
Evan Czaplicki
13 years ago
351c33c
Start generating constraints for let-expressions. Account for mutual recursion, but will throw a runtime error if a user has given type annotations.
Evan Czaplicki
13 years ago
cdb63bd
Start writing a new type checker based on the ATAPL chapter on efficient type-inference.
Evan Czaplicki
13 years ago
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list