Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
7
Task/String-length/Bracmat/string-length-1.bracmat
Normal file
7
Task/String-length/Bracmat/string-length-1.bracmat
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(ByteLength=
|
||||
length
|
||||
. @(!arg:? [?length)
|
||||
& !length
|
||||
);
|
||||
|
||||
out$ByteLength$𝔘𝔫𝔦𝔠𝔬𝔡𝔢
|
||||
16
Task/String-length/Bracmat/string-length-2.bracmat
Normal file
16
Task/String-length/Bracmat/string-length-2.bracmat
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
(CharacterLength=
|
||||
length c
|
||||
. 0:?length
|
||||
& @( !arg
|
||||
: ?
|
||||
( %?c
|
||||
& utf$!c:?k
|
||||
& 1+!length:?length
|
||||
& ~
|
||||
)
|
||||
?
|
||||
)
|
||||
| !length
|
||||
);
|
||||
|
||||
out$CharacterLength$𝔘𝔫𝔦𝔠𝔬𝔡𝔢
|
||||
14
Task/String-length/Bracmat/string-length-3.bracmat
Normal file
14
Task/String-length/Bracmat/string-length-3.bracmat
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
(CharacterLength=
|
||||
length c p
|
||||
. 0:?length:?p
|
||||
& @( !arg
|
||||
: ?
|
||||
( [!p %?c
|
||||
& utf$!c:?k
|
||||
& 1+!length:?length
|
||||
)
|
||||
([?p&~)
|
||||
?
|
||||
)
|
||||
| !length
|
||||
);
|
||||
4
Task/String-length/Bracmat/string-length-4.bracmat
Normal file
4
Task/String-length/Bracmat/string-length-4.bracmat
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
(CharacterLength=
|
||||
length
|
||||
. vap$((=.!arg).!arg):? [?length&!length
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue