Elixir version of a safe navigation operator? (navigating nil in maps/structs)

Hmm. I probably should’ve searched earlier, but @danielberkompas asked this last year: Maybe: nil protection for nested structs and he even created a small module that is a nod to the Maybe monad in Haskell?

1 Like