on cf70879 help sign in
31 lines 542 B history raw
1### `++hex`
3Hex to atom
5Parse any hexadecimal number to an atom.
7Source
8------
10 ++ hex (bass 16 (most gon hit)) :: hex to atom
12Examples
13--------
15 ~zod/try=> (scan "a" hex)
16 10
17 ~zod/try=> (scan "A" hex)
18 10
19 ~zod/try=> (scan "2A" hex)
20 42
21 ~zod/try=> (scan "1ee7" hex)
22 7.911
23 ~zod/try=> (scan "1EE7" hex)
24 7.911
25 ~zod/try=> (scan "1EE7F7" hex)
26 2.025.463
27 ~zod/try=> `@ux`(scan "1EE7F7" hex)
28 0x1e.e7f7
31***