« first day (647 days earlier)      last day (835 days later) » 

12:00 AM
It's really just swapping the lambda type?
 
Yep :P
 
@emanresuA Oh then we can just reuse x ig
 
Yep;
 
12:23 AM
Can we add some more regex stuff?
(to the short dictionary)
 
 
1 hour later…
1:51 AM
Specifically \1 and \2, .+ and .\* and (.\*), {2} and {3}
(.* but markdown)
 
{3}?
How often is that used?
 
Idk but could be useful
 
 
10 hours later…
11:53 AM
@lyxal say i have a string, how to check if its made of digits and convert it to an integer?
 
@PyGamer0
!!/run `123123` ⌊1+
 
@lyxal 123124
 
ok thanks
how to check if a string isdigit?
(i am working on something)
 
:⌊=
there might be a element for this though
±
!!/run \5±
 
ok
 
11:58 AM
@lyxal 1
 
!!/run \t±
 
@lyxal 0
 
!!/run `12`±
 
@PyGamer0 1
 
12:02 PM
5 bytes: ⌈ƛ±ß⌊
 
12:13 PM
now how does that work
 
it's a map
and a modifier
ß<element> is the same as [<element>]
 
@lyxal wrapping the element?
 
kind of
 
can i put functions in arrays
 
I think so
I've never really tested it
 
12:17 PM
how do i push functions to the stack?
 
λ...;
lambdas push functions to the stack
 
is there a one element lambda?
pretty sure there was
 
 
how to call that lambda
 
 
 
1 hour later…
1:50 PM
oh it calls it immediately not pushes a lambda to the stack
 
 
4 hours later…
6:21 PM
AMiller42 opened issue #676 in Vyxal/Vyxal: Inputting `True` or `False` doesn't work properly
 
6:39 PM
What do y'all think, should we cast True and False booleans to strings, or numbers? Casting to strings would be useful, but it would make False into a truthy value, so I'm not sure if it would be the best idea.
Also, fun fact: If you input a python dict, it will return a list of the keys, due to the way that the vyxalify function works:
!!/run , - {"key1":"value1", "key2":"value2", "key3":"value3"}
 
@AaroneousMiller ⟨ `key1` | `key2` | `key3` ⟩
 
@AaroneousMiller I think strings would be better
Turning them into integers may turn out weird if the input has normal words
It's very easy to just do 1 and 0 instead of True and False instead
@AaroneousMiller Should this be [[key1, value1], [key2, value2], ...] instead?
 
7:23 PM
@user probably
@user probably
 
8:10 PM
What is this sorcery
Also, cursed bug feature: Try it Online!
 
8:43 PM
@emanresuA wdym?
@emanresuA What's wrong with this?
 
I was confused 'cos I somehow created a discussion except I didn't
@AaroneousMiller Just that you can do that
I guess it's a side-effect of int :P
 
@emanresuA As long as it starts with a number, everything else just gets trimmed: Try it Online!
@emanresuA I converted your issue to a discussion, so I guess the bot got confused
 
@AaroneousMiller Oh. I thought it actually parsed it as 1000.
 
@emanresuA nope, the arity is just 1
you can check with the c flag
 
Yes
 
9:00 PM
chunkybanana opened PR #678 (Vyxal/Vyxal) (Vyxal:main → Vyxal:production): Update production (25/1/22)
 
 
3 hours later…
11:51 PM
i've did it
 
Thanks :P @sporeball
 
:>
 
chunkybanana merged PR #678 (Vyxal/Vyxal) (Vyxal:main → Vyxal:production): Update production (25/1/22)
 
Should work online now
Yep, thanks!
 

« first day (647 days earlier)      last day (835 days later) »