Loading…
Scala By the Bay has ended
Friday, August 14 • 2:50pm - 3:10pm
Proactively Lazy: Enforcing Laziness with Types

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Laziness as expressed with by-name parameters to functions can lead to surprising behavior with evaluation occurring where the developer might not expect. This is especially true when using complex helpers or building DSLs that pass by-name through several functions. This talk will show how to use Scala's type system to enforce where evaluation occurs by lifting lazy and by-name values into monadic constructs.

Speakers
avatar for Andy Wortman

Andy Wortman

Andy has a grand vision of seeing the words "proof" and "correctness" as common as "test" and "spec" already are. More realistically, he'd be elated to see better failure modes become the norm. By day he writes Scala at Originate for all kinds of work; the rest of the time he keeps... Read More →


Friday August 14, 2015 2:50pm - 3:10pm PDT
Track A

Attendees (0)