using lambda to implement one method interface

Sudarshan S Chawathe chaw@eip10.org
Mon Sep 18 11:22:00 GMT 2017


> how would I implement an interface with multiple methods?

I have found that simply defining the methods required by an interface
(with the proper names and type signatures) works, in the sense that the
resulting objects can be used anywhere that requires objects
implementing the interface.

Regards,

-chaw



More information about the Kawa mailing list