« first day (75 days earlier)      last day (646 days later) » 

09:24
todo: add tacks
09:44
ok lets hope my commit works
⊣⊢
^ added
ok lets test em
ok i guess " works
ok i think it works
 
5 hours later…
14:40
@mathcat if you have time can you give me feedback on the documentation?
^
nice docs
do you understand the documentation?
I'm reading
wait
+ is a dyadic chain right?
14:49
no its a dyadic link
okay link then
cchains arity are dependent on the number of arguments it was called with
ah
so if + is called with 2 args
then it's a dyadic chain?
who is clearing my stars
14:51
so it was you
gottem
stop star spamming
@mathcat ok let me run flax and show you some things
okay
@PyGamer0 i have done no such thing
      + ⍝ Let's call it monadically
> 3
>
6
      + ⍝ Let's call it dyadically now
> 3
> 4
7
      + ⍝ Don't forget niladic chains!
>
>
0
@mathcat ^
amogus comment
14:55
nice
so 3+ gives 6?
yeah, look at how moandic chains are executed
@mathcat only when called monadically
@PyGamer0 a+a
yeah but
3 4 5+
how does it know if it is niladic, monadic or dyadic?
well, how much arguments you pass in the chain?
do you pass 1, 2, or 0 args?
3, 4, 5 are args right?
@mathcat + is a lone dyad so the 2 case is invoked and according to that the accumulator is added (+) to the left argument
@mathcat they are .. to the link not the chain
15:00
oh
a chain always has its arity determined by the number of arguments you invoke it with
> Chains are a sequence of links.
> Chains can be called niladically, monadically or dyadically.
okay
so a chain of 2 dyads
+ and * (times)
times is ×
15:02
If I pass 3 args to it
@PyGamer0 oh, ok
@mathcat you can't
there are only niladic, monadic and dyadic chains
aka 0, 1, 2 arguments
@mathcat ok i updated the documentation so it makes more sense
okay 2 args then
ok
then it follows these rules:
so it multiplies (×) the arguments and adds (+) it to the accumulator
      +×
> 3
> 4
15
@mathcat do you know why the output is 15?
15:06
because λ = ⍺ I think
right?
good job!
but uh why doesn't it add first?
now you know the basics of chaining of flax
is tacit arabian?
@mathcat because it follows the 2, 2 rule
15:08
ah, ok
@mathcat no, read the documentation closely
understood
there are rules, the links are executed according to those rules
Can you give an example of an LCC chain?
1+1+1
a nilad followed by 2, 0 / 0, 2 / 1 rules
15:10
okay
so 1+2C is a LCC
and so it 1 2+C
a monad which calculates 1-x
(x is the argument of the atom)
okay
so
@mathcat quiz: lets say the chain is +2+×C and the chain is called monadically with 3, what is the output?
15:13
ok
one sec
the second plus is a dyadic link, right?
its always dyadic
since all atoms have fixed arity
meaning that their arity doesnt change
is the result -23?
no
try again
15:19
after the first plus, the result is 6
then there is 2
@mathcat how?
@mathcat ah, you see the 2, 0 rule is followed here
wait why?
the longer rules have higher precedence
2, 0 is checked first before 2 rule
15:20
okay
then the result is 4
then 6
how?
but 4 is correct, right?
after the first +
but the input is 3
whats +2 called with 3
oh
I'm reading it like a stack
15:24
okay
+2 with 3 is 5
yes
now try the original problem
then the other plus is called with 5 and 3?
8 then
15:26
8*3 is 24
no... check if any other rule is followed here
is the 2, 1 rule applied here?
exactly
because times is dyadic and C is monadic?
okay
15:29
so its (1-8)*3=-21?
oh C is 1-x
that feels wrong
yea
@mathcat C stands for Complement
I only know Compliment
if you want Increment/ Decrement.. thats }{
ah
but C is 1-x?
15:31
so C is applied to ⍺
and is multiplied with 8?
19 secs ago, by PyGamer0
yes
and what do you get?
so *head maths*
-16?
good job!
15:32
nice
well done
now you know chaining in flax (and as a bonus, jelly)
Can you give another example to practise?
@mathcat btw here is my output:
      +2+×C
> 3
>
¯16
wohoo
^ see its the high minus for negative numbers
@mathcat ok ill give one more and i will leave ok?
15:35
ok, thanks
quiz: +2×+}×3+1-CC called dyadically with 3 and 4
all the best!
o/
o/
woah that's big
* installs flax *
 
2 hours later…
17:30
@PyGamer0 can you help me
yeah
so the first plus calculates 3+4+2
right?
how?
its a 2, 0
which's 9
so it's (3 + 4) + 2
no
what does +3 give with 3 and 4?
ok ill explain properly tomorrow
17:35
okay o/

« first day (75 days earlier)      last day (646 days later) »