Join Slack
Powered by
Hi, as any one encounter this type of class def an...
# announcements
a
AnnoymousGiraf
01/22/2020, 4:15 AM
Hi, as any one encounter this type of class def and can explain the pattern
Copy code
Class A cosntructor(...) : (String) -> B { }
AnnoymousGiraf
01/22/2020, 4:50 AM
What would be a good use case for that? or a pattern ?
AnnoymousGiraf
01/22/2020, 4:59 AM
Cheers will have a look into it
AnnoymousGiraf
01/22/2020, 5:05 AM
OK, i looked on the Function interface it is indeed in order to force apply impel. probably sort of Command Pattern
e
E.Kisaragi
01/22/2020, 7:31 AM
Function1<String, B> maybe :)
5
Views
Open in Slack
Previous
Next