From 00d09fcbe28636d9bece884ea71f958738ea4d23 Mon Sep 17 00:00:00 2001 From: techieAgnostic Date: Wed, 10 Jul 2019 12:20:08 +1200 Subject: [PATCH] week1 --- README.md | 7 +++++++ week1/week1.hoon | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 README.md create mode 100644 week1/week1.hoon diff --git a/README.md b/README.md new file mode 100644 index 0000000..2d90e2a --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Hoon 101 + +My assignments for each week of Hoon 101. + +## Week 1 + +> Create a naked generator that takes an atom and returns the same atom cast to any aura diff --git a/week1/week1.hoon b/week1/week1.hoon new file mode 100644 index 0000000..9d068f8 --- /dev/null +++ b/week1/week1.hoon @@ -0,0 +1,6 @@ +:: Hoon School - Week 1 +:: ~bannum-magtus || s@p7.co.nz +:: +|= inp=@ :: 1 - create a gate with one atom input, 'inp' +^- @p :: 2 - use kethep to cast inp to a planet aura +inp :: 3 - close the kethep, and ergo close the bartis