mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-18 00:31:57 +03:00
901a15e8f8
Extract 200 lines file from 1000 lines `Prelude/Types.idr`. To make code more discoverable.
29 lines
660 B
Plaintext
29 lines
660 B
Plaintext
1/1: Building TypeSearch (TypeSearch.idr)
|
|
Main> prim__cast_CharString : Char -> String
|
|
|
|
Main.sameSig : Char -> String
|
|
|
|
Data.Strings.singleton : Char -> String
|
|
|
|
Totality: total
|
|
|
|
Prelude.Show.show : Char -> String
|
|
|
|
Prelude.Cast.cast : Char -> String
|
|
Main> Prelude.const : a -> b -> a
|
|
Constant function. Ignores its second argument.
|
|
|
|
Totality: total
|
|
Main> Prelude.toUpper : Char -> Char
|
|
Convert a letter to the corresponding upper-case letter, if any.
|
|
Non-letters are ignored.
|
|
|
|
Totality: total
|
|
|
|
Prelude.toLower : Char -> Char
|
|
Convert a letter to the corresponding lower-case letter, if any.
|
|
Non-letters are ignored.
|
|
|
|
Totality: total
|
|
Main> Bye for now!
|