Skip to content

Instantly share code, notes, and snippets.

@ELLIOTTCABLE
Created January 1, 2013 01:25
Show Gist options
  • Save ELLIOTTCABLE/4424539 to your computer and use it in GitHub Desktop.
Save ELLIOTTCABLE/4424539 to your computer and use it in GitHub Desktop.
Trying to add a FUNC to locals. ಠ_ಠ
implementation void()
( infrastructure execution stage()
(infrastructure affix() (locals))
(infrastructure empty()) )
( infrastructure execution stage()
(infrastructure charge() (locals))
(infrastructure length() (locals)) )
( infrastructure execution stage()
(infrastructure affix()
(infrastructure get() (locals) (infrastructure length() (locals))))
FUNC )
( infrastructure execution stage()
(infrastructure affix()
(infrastructure get() (locals) (infrastructure length() (locals))))
{ implementation util print Success! }
# gotta copy “implementation” into
# Need to `find...` on FUNC, because juxtaposing against it will call it
# rest of this is copy-pasted from above, as that's the whole process necessary
# to 1. create a new empty-pair on locals, 2. grab that empty pair, add a first
# member of the label to name the thing, and 3. add a second member to the pair
# of the *actual value*.
( infrastructure execution stage()
(infrastructure affix() (locals))
(infrastructure empty()) )
( infrastructure execution stage()
(infrastructure affix()
(infrastructure get() (locals) (infrastructure length() (locals))))
implementation )
( infrastructure execution stage()
(infrastructure affix()
(infrastructure get() (locals) (infrastructure length() (locals))))
{ implementation util print Success! }
( infrastructure execution stage()
(infrastructure execution branch()
(implementation util inspect)) (FUNC) )
( implementation stop() )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment