Deciding to lock your screen should be a pure function

PresenceLock locks your Windows session when you step away from the webcam. Twice it silently stopped locking while reporting that it was watching. Both bugs were caught, and both fixes were possible, because the decision to lock is a pure F# function with no clock and no I/O.

July 31, 2026 · 10 min · Corey Leavitt