Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/Binary-digits/EchoLisp/binary-digits.l
Normal file
9
Task/Binary-digits/EchoLisp/binary-digits.l
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
;; primitive : (number->string number [base]) - default base = 10
|
||||
|
||||
(number->string 2 2)
|
||||
→ 10
|
||||
|
||||
(for-each (compose writeln (rcurry number->string 2)) '( 5 50 9000)) →
|
||||
101
|
||||
110010
|
||||
10001100101000
|
||||
Loading…
Add table
Add a link
Reference in a new issue