iproute
iproute copied to clipboard
What about better fail information from `read`?
Currently I see
λ> "1" :: IP
*** Exception: Prelude.read: no parse
it's easily discoverable in REPL but what if IP appears to be somewhere deep inside of some program internal structure?
I think something like Safe.readNote "Data.IP.read"
would be better.