mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-10 10:02:38 +03:00
fixing embarrassing typos
This commit is contained in:
parent
2f6d82ad01
commit
eb4dfbca5a
@ -85,7 +85,7 @@ public class Demo {
|
||||
int[] arr = {10, 20, 30, 40};
|
||||
int x = 3;
|
||||
System.out.println(Arrays.toString(arr) +
|
||||
" multipled by " + x +
|
||||
" multiplied by " + x +
|
||||
" results in " + Arrays.toString(mulArrByScalar(arr, x)) +
|
||||
"\n");
|
||||
|
||||
|
@ -24,7 +24,7 @@ public class Demo {
|
||||
int[] arr = {10, 20, 30, 40};
|
||||
int x = 3;
|
||||
System.out.println(Arrays.toString(arr) +
|
||||
" multipled by " + x +
|
||||
" multiplied by " + x +
|
||||
" results in " + Arrays.toString(mulArrByScalar(arr, x)) +
|
||||
"\n");
|
||||
|
||||
@ -32,7 +32,7 @@ public class Demo {
|
||||
// This can be implemented more peacefully but for sake of demonstration-
|
||||
// this will panic from the roc side if n is negative
|
||||
// and in turn will throw a JVM RuntimeException
|
||||
long n = 5;
|
||||
long n = -1;
|
||||
System.out.println("Factorial of " + n + " is " + factorial(n));
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user