mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-15 14:23:32 +03:00
57e7f14bca
Written via "0b" in the manner of other literals. e.g. 0b111001 = 57
7 lines
111 B
Idris
7 lines
111 B
Idris
test1 : Int -> Int
|
|
test1 0b101 = 5
|
|
test1 0x100 = 42
|
|
test1 0o100 = 43
|
|
test1 1234567890 = 44
|
|
test1 _ = 0
|