Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #11 from torsion-labs/update-readme-with-lhs-example
Browse files Browse the repository at this point in the history
Update readme with lhs example
  • Loading branch information
martyall authored Jan 25, 2024
2 parents ab27272 + 400da7b commit bb70ee7
Show file tree
Hide file tree
Showing 64 changed files with 2,436 additions and 1,043 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ jobs:
- name: 'Run HLint'
uses: rwe/actions-hlint-run@v2
with:
path: .
path: src
fail-on: warning
457 changes: 10 additions & 447 deletions README.md

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion app/Main.hs
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)
Loading

0 comments on commit bb70ee7

Please sign in to comment.