« first day (114 days earlier)      last day (137 days later) » 

12:14
@Steffan intended behavior :P
@Steffan also intendedish
i can change the parser a bit it strip spaces
brb in 2 hrs
 
2 hours later…
14:47
back
 
1 hour later…
16:16
Announcement: newline will no longer be a function terminator
instead, the entire program will be split on newlines (ignoring strings). the first will will have the program inputs passed, and each successive line will have the output of the line above as input
 
1 hour later…
17:37
@Seggan it's really confusing and ugly
17:49
yeah itll be fixed next version
 
1 hour later…
19:32
@Seggan Has @Steffan mentioned the issue with p?
Ok, just checking
What happened when 49 showed up as not a prime is I was using your code checking the length of factors lol
Lol that explains it
20:14
How do I get the nth item in a list?
Nvm, found it
What's the best way to run something n times?
then ure probably doing it wrong
whats the context
in fig, you have to switch to a functional mindset
Ugh, I'm trying to do this challenge
20:30
you trying to add the adjacent elements?
@tybocopperkettle which bit of the problem you trying to solve
in any case, use recursion for a while loop if you want
@Seggan Ohh ok
careful tho, each recursion takes 19 stack frames for some reason
20:36
@Seggan I have a functioning solution now but it can surely be shorter
youll blow the jvms recursion limit in maybe 20-30 recursions
@Seggan what how
How is your AST evaluator that convoluted
Vyxal only takes 5 recursions per recursion
@Seggan Omg
At least try to use tail calls?
20:39
hehehe...
the way recursion works is that it calls "this function", which is a bunch of contextual boilerplate on top of a normal clojure fn
uses equalsignorecase builtin
if i has a reversedphalbet both upper and lower it could be 7 chars
Just found that too lol
Oh wait different
20:46
oh wow fig will rule if you edit that in
even without frac bytes will beat vyx and tie osabie
Feature request: Make filter/map on a number behave like vyxal
range?
hmm might break some answers
what it currently does is nothing
20:52
@emanresuA I'll second that
@emanresuA k will do later
Idk clojure, but it looks like changing this to (range 1 (+ 1 %)) should work?
21:10
almost
(range 1 (inc %))
i need more primality builtins
 
1 hour later…
22:21
@Seggan Could you explain in chat? — tybocopperkettle 43 mins ago
@tybocopperkettle 1st line takes n primes
2nd line takes the result of the 1st line and computes not len(x) - 1
if true, returns the first item in the list (which is a single number - the result - by now)
if false, add the list to itself minus the 1st item
then recurse with ^ as an arg
it showcases figs new multiline mode
22:41
Is there seriously triple but no double?
h
cue taken from jelly ;)
Just found that
Are there overlapping / non-overlapping windows builtins?
nope
i planned em a while ago but never implemented
23:02
the wording "unhalve" might just be my least favorite part of the language :P
23:29
@south that's probably stolen from jelly
@Seggan Still a bit confused, why do you need the o?
@Steffan shame on jelly then

« first day (114 days earlier)      last day (137 days later) »