DEV Community

Discussion on: Getting Lazy in C#

Collapse
 
shimmer profile image
Brian Berns

Lazy<T> is awesome. Just wanted to mention that it's also built into F# as part of the language:

let warpCore = lazy ExpensiveWarpCore()
Enter fullscreen mode Exit fullscreen mode

As usual, F# is one step ahead of C#. :)

Collapse
 
integerman profile image
Matt Eland

Love the F# love. Keep preaching it.