Timeline for An abundance of integers!
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 17, 2020 at 9:04 | history | edited | Community Bot |
Commonmark migration
|
|
| Feb 22, 2017 at 13:56 | comment | added | Conor O'Brien |
My pleasure! If you have any more questions, ping me in the nineteenth byte with @ConorO'Brien
|
|
| Feb 22, 2017 at 13:49 | comment | added | Blocks | Thanks for so much for the explanation. It makes more sense now. | |
| Feb 22, 2017 at 13:47 | history | edited | Blocks | CC BY-SA 3.0 |
added 33 characters in body; deleted 1 character in body
|
| Feb 22, 2017 at 12:28 | comment | added | Conor O'Brien |
In the fork chain, #~ is evaluated after the verbs to its right are executed, so it's left argument becomes the result on the right
|
|
| Feb 22, 2017 at 12:27 | comment | added | Conor O'Brien |
so you know about forks, right? (f g h) y' is the same as (f y) g (h y). When f` is a cap, ([: g h) y is roughly the same as g h y. As for ~, this switches the left and right arguments. It is important to know that ~ is not a verb but is actually an adverb. It modifies a verb. For example, we could have something like 2 %~ 8. Here, ~ modifies % to switch its arguments, so the expression is equivalent to 8 % 2.
|
|
| Feb 22, 2017 at 11:09 | comment | added | Blocks | ~ switches so it's i.e.#i. but what is the purpose of [: ? | |
| Feb 22, 2017 at 11:06 | comment | added | Blocks | Thanks for the advice! However, could you please explain the cap verb ([:) and the switch verb (~). I don't really get what they're supposed to do in this tacit verb. | |
| Feb 22, 2017 at 1:55 | comment | added | Conor O'Brien |
Welcome to PPCG! We allow anonymous functions, so you can remove the leading f=: as part of your byte count. Also, you can get down to 19 by converting to a tacit verb: <[:+/i.#~i.e.]%2+i.
|
|
| Feb 21, 2017 at 12:48 | review | First posts | |||
| Feb 21, 2017 at 12:50 | |||||
| Feb 21, 2017 at 12:45 | history | answered | Blocks | CC BY-SA 3.0 |