scala> def doClose(in: {def close(i: Int): Unit}) {in.close(42)}
doClose: (AnyRef{def close(Int): Unit})Unit



On Wed, Mar 4, 2009 at 3:26 PM, Meredith Gregory
<[email protected]>wrote:

> Dam and Sir Scalahads,
>
> Where is the documentation for the structural/partial type syntax? i want
> to express a bound on a type that says it has to at least have method m with
> signature sig.
>
> Best wishes,
>
> --greg
>
> --
> L.G. Meredith
> Managing Partner
> Biosimilarity LLC
> 806 55th St NE
> Seattle, WA 98105
>
> +1 206.650.3740
>
> http://biosimilarity.blogspot.com
>



-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

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

Reply via email to