« first day (1721 days earlier)      last day (648 days later) » 

4:46 PM
@cairdcoinheringaahing Try it online! Not working (I want to output [3])
 
Monads are postfix, not prefix: Try it online!
Also note that singleton lists (such as [3]) are output without the brackets: Try it online!
 
Why ÇŒṘ
 
The ŒṘ shows the list as it is, rather than using Jelly's output formatting
 
And Ç is the first link?
 
"call the line above"
Ç is the first link (command) in the main link (line), and it calls the link (line) above
 
4:50 PM
@cairdcoinheringaahing Jelly uses polish notation?
 
"link" refers to two different things in Jelly: each line (separated by newlines) is a link, and each chain in each link (line) is made up of links made up of atoms and quicks
@Fmbalbuena Not really
 
@cairdcoinheringaahing ok
@cairdcoinheringaahing how to output [-1, 2] in 3 bytes, This seems impossible for me.
 
You can use the , (pair) command to construct lists, e.g. 1,2,3 is the list [1,2,3]
 
but i have to use -1,2
 
There is a way to represent -1 in 1 byte instead of 2
 
4:54 PM
oh thanks
but which?
 
Take a look at this
 
I will solve another later.
 
Very nice!
There are at least 3 different ways to do the first of Lynn's challenges I believe, if you want to try to find other ways
 
5:38 PM
oh wait all of my rooms are saying this
refreshing tnb fixed it there
guess this is as good an occasion as any to try more of the puzzles lmao
 
@cairdcoinheringaahing
@cairdcoinheringaahing I have a question: what is postfix?
 
5:56 PM
@Fmbalbuena in a jelly context? quicks i guess
 
@UnrelatedString I don't understand
 
what's mentioning postfix
 
Wdym
 
like what brings you to ask about postfix
 
1 hour ago, by caird coinheringaahing
Monads are postfix, not prefix: Try it online!
Postfix means that the command goes after the argument, not before. E.g. 3W instead of W3
 
5:59 PM
^
and that evaluation is in general left to right so long as you don't worry too much about dyads
 
M is monad, D is dyad, N is Nilad, NDNM will execute like (NDN)M or ND(NM)?
 
the chain patterns are matched in the order written but when you don't feel like referencing that you can always test it out
 
Help me
 
although in this case it depends on if that's a prefix of the overall chain or not
¹1+2C prints 1 and returns -1, while 1+2C returns -2
 
What is C?
 
6:05 PM
in the first case, it's (0,2),0,1, in the second case it's 0,(2,0),1since the nilad is leading
@Fmbalbuena 1-x
 
@Fmbalbuena If that's the entire chain, it'll do (NDN)M. Otherwise, if it's part of ...MNDNM..., it's something called an "unparseable nilad", which has weird behaviour. If it's part of ...DNDNM, then it becomes ...(DN)(DN)M...
 

« first day (1721 days earlier)      last day (648 days later) »