2 ms·
You don't need to write your own or import a library for that in Haskell. It's in the Prelude.
by chowells 4y ago
You don't need to write your own or import a library for that in Haskell. It's in the Prelude.
- eddsh1994 4y agoYeah but I like to write as much from scratch when I do leetcode, feels like it's cheating to use stuff that makes an easy problem easier :P