archaeology
archaeology copied to clipboard
Building lists that contain a unit with ++limo breaks clamming (At least '$,' and ',')
Building lists in your context with ++limo breaks clamming: $,
and ,
are broken.
Example batz phenomenon*:
Example 1)
~tadbyl-hilbel/try=> =lyst (limo ~[1 'a' 2 'b' (some 10)])
~tadbyl-hilbel/try=> ,@
! -type.^$1{[i=@ud t=$1] ^$2{[i=@t t=$2] ^$3{[i=@ud t=$3] ^$4{[i=@t t=$4] ^$5{[i=[%~ u=@ud] t=$5] %~}}}}}
! burn-loop
! exit
Example 2)
~tadbyl-hilbel/try=> =+((limo ~[1 2
3]) ,@)
! -type.^$1{[i=@ud t=$1] ^$2{[i=@ud t=$2] ^$3{[i=[%~ @ud] t=$3] %~}}}
! burn-loop
! exit`
Example 3)
~zod/try=> =+((limo /a/b) ,@)
! -type.^$1{[i=@tas t=$1] ^$2{[i=@tas t=$2] %~}}
! burn-loop
! exit
The following work fine though:
~tadbyl-hilbel/try=>
(list ,(unit ,@))[
1 2
3 ~]
~[[~ 1] [~ 2] [~ 3]]
~tadbyl-hilbel/try=> (limo (list ,(unit ,@))
[1
2 3 ~])
[i=i=[~ 1] t=[i=i=[~ 2] t=[i=i=[~ 3] t=~]]]
Possibly related: ^+ |- ?: %& _@ $
<~>` crashes only at the pretty-printer, instead of type-failing.