Add strIndex and strTail

This commit is contained in:
Edwin Brady 2020-01-31 23:06:08 +00:00
parent 886b6aae7f
commit 284a3ded69

View File

@ -165,3 +165,11 @@ toUpper str = pack (map toUpper (unpack str))
export
toLower : String -> String
toLower str = pack (map toLower (unpack str))
export
strIndex : String -> Int -> Char
strIndex = prim__strIndex
export
strTail : String -> String
strTail = prim__strTail