Quick Summary:
Add binary literal syntax to elm, such as 0b1010 would to 10 in decimal.
SSCCE
Enter the following in elm repl
> 0b111
|
-- WEIRD NUMBER ----------------------------------------------------------- REPL
I thought I was reading a number, but I ran into some weird stuff here:
3| 0b111
^
I recognize numbers in the following formats:
42
3.14
6.022e23
0x002B
So is there a way to write it like one of those?
Quick Summary: Add binary literal syntax to elm, such as
0b1010
would to 10 in decimal.SSCCE
Enter the following in
elm repl
Additional Details