-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: document contents of binary files
- Loading branch information
1 parent
95f4b7a
commit 5b105bc
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
circleArea.fpkg contains a single function that computes the area of a circle given its radius: | ||
|
||
``` | ||
/// Compute the area of a circle given its radius. | ||
def circleArea(r: Int32): Int32 = 3 * (r * r) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
SquareArea.jar contains the compiled class file for the following Java code: | ||
|
||
``` | ||
package dev.flix; | ||
|
||
public class SquareArea { | ||
/** | ||
* Compute the area of a square given its side length. | ||
*/ | ||
public static int squareArea(int w) { return w * w; } | ||
} | ||
``` |