removes confusing examples

This commit is contained in:
collin 2020-10-21 11:35:00 -07:00
parent 61556cca29
commit d00eff2d86
12 changed files with 0 additions and 52 deletions

View File

@ -1,2 +0,0 @@
outputs/
/.leo

View File

@ -1,8 +0,0 @@
[project]
name = "fibonacci"
version = "0.1.0"
description = "Returns a fibonnaci sequence"
license = "LICENSE-MIT"
[remote]
author = "aleo"

View File

@ -1 +0,0 @@
# fibonacci

View File

@ -1,2 +0,0 @@
[registers]
r0: u32 = 0;

View File

@ -1,16 +0,0 @@
function fibonacci() -> u32 {
let mut a = 0u32;
let mut b = 1u32;
for i in 0..10 {
a = b;
b = a + b;
}
return a
}
// The 'fibonacci' main function.
function main() -> u32 {
return fibonacci()
}

View File

@ -1,2 +0,0 @@
outputs/
/.leo

View File

@ -1,8 +0,0 @@
[project]
name = "square-root"
version = "0.1.0"
description = "prove knowledge of the square root `a` of a number `b`"
license = "LICENSE-MIT"
[remote]
author = "aleo"

View File

@ -1 +0,0 @@
# square-root

View File

@ -1,7 +0,0 @@
// The program input for square_root/src/main.leo
[main]
a: u32 = 337;
b: u32 = 113569;
[registers]
r0: bool = false;

View File

@ -1,5 +0,0 @@
// The 'square-root' main function.
// prove knowledge of the square root `a` of a number `b`
function main(a: u32, b: u32) -> bool {
return a * a == b
}