You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
splitAt :: Int -> String -> Maybe (Array String). Looking at the FFI, it returns just([s.substring(0, i), s.substring(i)]) : nothing;, always either a Just with a 2-length array or a Nothing. Wouldn't a Tuple be more appropriate?
The text was updated successfully, but these errors were encountered:
splitAt :: Int -> String -> Maybe (Array String)
. Looking at the FFI, it returnsjust([s.substring(0, i), s.substring(i)]) : nothing;
, always either a Just with a 2-length array or a Nothing. Wouldn't a Tuple be more appropriate?The text was updated successfully, but these errors were encountered: