Commit Graph

9 Commits

Author SHA1 Message Date
Mark Harrah 15fec197c3 2.10.0-M5, different arity generalization
1. KList[M[_]] now instead of KList[HL <: HList, M[_]]
  a. head, tail work properly in this variant
  b. disadvantage is that full type not easily transformed to new type constructor
2. AList abstracts on K[L[x]], a higher order type constructor.
 A. Instances written for:
  a. KList
  b. Seq[M[T]] for a fixed T
  c. TupleN
  d. single values
  e. operate on one type constructor when nested
 B. Main disadvantage is type inference.  It just doesn't happen for K[L[x]].
    This is mitigated by AList being used internally and rarely needing to construct a K.
2012-11-17 20:19:24 -05:00
Mark Harrah c7c4969eb7 Revert "work around for 2.10. pattern matching on KNil now requires KNil()"
This reverts commit 2f726b34c3.

This commit caused "java.lang.Error: typeConstructor inapplicable for <none>" when running 'sxr'
2012-03-17 22:58:13 -04:00
Mark Harrah 8fc5db4a8a work around for 2.10. pattern matching on KNil now requires KNil() 2012-03-17 19:31:03 -04:00
Mark Harrah 12336b79f6 minor updates for p2 2010-08-30 09:10:25 -04:00
Mark Harrah 5b21bae244 task system cleanup
KList.map -> transform
can now drop trailing 'H' from multi-Task 'mapH'
compressed Action hierarchy by merging (Flat)Map{ped,All,Failure} into (Flat)Mapped
moved most information in Info into attributes: AttributeMap to allow future changes
2010-08-21 22:55:42 -04:00
Mark Harrah f1b5e0cf50 MList -> KList, Relation[T] -> Relation[A,B] 2010-06-24 18:09:07 -04:00
Mark Harrah 1144fb5a27 graph evaluator, rewrite, general updates 2010-06-07 08:53:21 -04:00
Mark Harrah b1bb6ce5ec variance fixes, inference fixes with Result hierarchy 2010-06-01 08:38:56 -04:00
Mark Harrah 7927d8bdad higher-kinded heterogeneous lists: MList[M[_]]
natural transformations: ~>[A[_], B[_]]
Scala 2.8
2010-05-30 18:42:58 -04:00