This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from torsion-labs/update-readme-with-lhs-example
Update readme with lhs example
- Loading branch information
Showing
64 changed files
with
2,436 additions
and
1,043 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 |
---|---|---|
|
@@ -32,5 +32,5 @@ jobs: | |
- name: 'Run HLint' | ||
uses: rwe/actions-hlint-run@v2 | ||
with: | ||
path: . | ||
path: src | ||
fail-on: warning |
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 |
---|---|---|
@@ -1,9 +1,13 @@ | ||
{-# LANGUAGE RebindableSyntax #-} | ||
|
||
module Main where | ||
|
||
import Snarkl.CLI (defaultMain) | ||
import Snarkl.Field (F_BN128) | ||
import Snarkl.Language.Prelude | ||
import Snarkl.Toplevel (Comp, Ty (TField)) | ||
import qualified Test.Snarkl.Unit.Programs as Programs | ||
import Prelude hiding (return, (+), (>>=)) | ||
|
||
main :: IO () | ||
main = defaultMain "prog" (Programs.prog2 10 :: Comp 'TField F_BN128) | ||
main = defaultMain "prog" (Programs.prog2 1 :: Comp 'TField F_BN128) |
Oops, something went wrong.