scalapuzzlers / scalapuzzlers.github.com

Github Pages behind scalapuzzlers.com
www.scalapuzzlers.com
161 stars 53 forks source link

First draft of a PartialFunction puzzler #115

Closed demobox closed 9 years ago

demobox commented 10 years ago

Suggested by @MasseGuillaume. Thanks, Guillaume!

See #114

demobox commented 10 years ago

@nermin Ping? Thoughts on this..?

demobox commented 10 years ago

@nermin Another quick ping here..?

demobox commented 10 years ago

An interesting comment from a related thread that could be worked into the discussion here:

"Note that Function1 does not define a total function, as might be suggested by the existence of scala.PartialFunction. The only distinction between Function1 andPartialFunction is that the latter can specify inputs which it will not handle."

demobox commented 9 years ago

Merged to master: a0d45dce7c8f5fe1cf9800c3dc64206e2662e677