Commit Graph

9 Commits

Author SHA1 Message Date
chrdimo
a499b22a3c improving performance of options 2013-03-27 16:16:25 -04:00
chrdimo
9743afeebf replacing transfer-option with transfer/c 2013-03-13 21:15:00 -04:00
chrdimo
0939cfcaf9 adding common special for the wrap-proc of the chaperone for option contracts on procedures 2013-03-04 21:48:52 -05:00
chrdimo
7f67252cb3 replacing applicable structures for procedure options with chaperones + tweak-option + with-contract mode 2013-03-02 23:36:21 -05:00
chrdimo
a3a98fd933 support for keyword argumnets + transfer-option, exercise-option and waive-option do not raise an error on values without an option 2013-02-25 22:18:17 -05:00
Robby Findler
b3e803c757 add context information into the error messages for option contracts
Also, minor code cleanup (don't create a function and pass it
around when has only one thing in its closure and you can
just pass that around, especially when passing the function around
makes the code harder to read and the created function has to
have a "dot" arglist and use "apply" in its body)
2013-02-24 09:04:47 -06:00
Robby Findler
64d7911fe5 add has-option? to check if a value has an option contract or not 2013-02-23 16:26:46 -06:00
chrdimo
ee81c98ae9 extending option contracts; now handle procedures, vectors, hashes, struct instances, adding support for invariants for vectors, hashes and struct instances 2013-02-14 19:53:26 -05:00
chrdimo
5808b0c4a0 adding option contracts in unstable 2013-01-28 01:09:05 -05:00