Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Mastering Time-to-Market with Haskell. Parent comment
For the time being, make a helper function:
ixWithString :: String -> Int -> Array a -> a
check the bounds inside and error out with a custom message when the index is outside the array bounds.
There are no comments on this comment yet.
For the time being, make a helper function:
ixWithString :: String -> Int -> Array a -> a
check the bounds inside and error out with a custom message when the index is outside the array bounds.