Hi, all,

I've been messing around with Loc a bit to try to tighten up the type
safety of the parameterized type and add authentication LocParams that
can be aware of the current value encapsulated by the Loc. I've put up
some changes on the kjn-loc-wip branch and would really like some
feedback.

Some of the major changes:

* gave LocParam a covariant type parameter to go with Loc's type
parameter and made it a sealed trait, with UserLocParam[T] as the main
extension point for user-defined traits. Added AnyLocParam as base
trait of LocParam instances that are not dependent upon T
* Added IfValue & UnlessValue LocParams
* Made default Loc parameterized by Unit instead of NullLocParams
* Some minor renaming to distinguish between uses of the "Param" name-
- now all Param usages refer to LocParams
* Removed need for a bunch of asInstanceOf casts

What do you all think? Is this something that you'd like to see
cleaned up & committed to master?

Thanks,

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to