mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-11-28 05:32:03 +03:00
Add strIndex and strTail
This commit is contained in:
parent
886b6aae7f
commit
284a3ded69
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user