Skip to content

Commit

Permalink
docs: document contents of binary files
Browse files Browse the repository at this point in the history
  • Loading branch information
sockmaster27 committed Apr 21, 2024
1 parent 95f4b7a commit 5b105bc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/testWorkspace/lib/circleArea.fpkg.txt
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)
```
12 changes: 12 additions & 0 deletions test/testWorkspace/lib/external/SquareArea.jar.txt
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; }
}
```

0 comments on commit 5b105bc

Please sign in to comment.