Added types
This commit is contained in:
parent
cd1119add2
commit
83661c5e7a
33 changed files with 113 additions and 92 deletions
|
@ -22,7 +22,7 @@ main() {
|
|||
}
|
||||
}
|
||||
|
||||
isPrime(x) {
|
||||
isPrime(x Int) -> Int {
|
||||
if x == 2 {
|
||||
return 1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue