Idris2/tests/idris2/reg020/expected
MarcelineVQ 57e7f14bca add binary literals
Written via "0b" in the manner of other literals. e.g. 0b111001 = 57
2020-08-31 08:48:05 +01:00

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!