nil-navigation
nil-navigation
We’ve all been there: you confidently type foo.bar, hit save, and then your program crashes. Why? Because foo decided to be nil today. Sure, you could wrap everything in try. But deep down you know the truth:
If
foois nil, returningnilis the only reasonable adult decision.
This shard simply embraces that philosophy. Call whatever you want, and if anything along the way is nil, you get… nil Not an exception. Not a lecture. Just good, old-fashioned nil.
Finally, method calls that behave like they’ve had their morning coffee. Enjoy.
Installation
-
Add the dependency to your
shard.yml:dependencies: nil-navigation: github: giannos-ch/nil-navigation -
Add to your main crystal file:
require "nil-navigation"
Contributors
- Giannos - creator and maintainer
Repository
nil-navigation
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- 2 months ago
- December 6, 2025
License
MIT License
Links
Synced at
Mon, 26 Jan 2026 20:26:39 GMT
Languages