727-509-1671
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Both of these are pretty bad; the second one seems nicer in theory but gives a nest-fail | |
:: | |
:: number 1 | |
:: | |
!: | |
:- %say | |
|= [[* eny=@uvJ *] [x=@ud y=@ud ~] ~] | |
:- %noun | |
=< =~ make-decks | |
(make-set [eny=eny x=x y=y]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!: | |
:- %say | |
|= [[* eny=@uvJ *] [x=@ud y=@ud ~] ~] | |
:- %noun | |
=< =~ make-decks | |
(make-set [eny=eny x=x y=y]) | |
== | |
|% | |
++ make-decks | |
|_ result=@ud |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Creates a gate that takes any atom, called n | |
:: | |
|= n=@ | |
:: Runs the goldbach arm with n as the subject | |
:: | |
=< (goldbach n) | |
:: Declares a new core, | |
:: | |
|% | |
:: with an arm called prime. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Run this with 1.000 as a sample in your dojo, of course | |
:: | |
|= s=@ud | |
=/ n=@ (dec s) | |
=/ c=@ 0 | |
|- | |
?: =(n 1) c | |
?: ?| =(0 (mod n 3)) | |
=(0 (mod n 5)) | |
== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Part One | |
:: | |
:: A gate that takes n, an unsigned decimal | |
:: | |
|= n=@ud | |
:: Declares T, an unsigned decimal and combines it with 1 (this essentially sets t to 1 on the first run) | |
:: | |
=/ t=@ud 1 | |
:: |- changes the recursion point of $ from the start of the gate to the line |- is on | |
:: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|= a=* | |
?@ a | |
?: =(0 (mod a 2)) | |
"Even" | |
"Odd" | |
"Cell" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|= a=@ | |
`@p`a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am rcrdlbl on github. | |
* I am moldbug (https://keybase.io/moldbug) on keybase. | |
* I have a public key ASA5hzjmHn5YAPrdctqBgQbqgtWTwHmkRFKR74g-enWFFwo | |
To claim this, I am signing this object: |