mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-22 19:21:39 +03:00
57e7f14bca
Written via "0b" in the manner of other literals. e.g. 0b111001 = 57
9 lines
164 B
Plaintext
9 lines
164 B
Plaintext
1/1: Building matchlits (matchlits.idr)
|
|
Main> Main.test1 : Int -> Int
|
|
test1 5 = 5
|
|
test1 256 = 42
|
|
test1 64 = 43
|
|
test1 1234567890 = 44
|
|
test1 _ = 0
|
|
Main> Bye for now!
|