4 ms·
Or use pattern matching.
by epsylon 13y ago
Or use pattern matching.
- mercurial 13y agoPattern matching is great, you can usually use it instead of head, but you want something like Control.Error.Safe.tryRead to replace other unsafe functions like read.