-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce new witness api #763
base: master
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,484 @@ | |||
{-# LANGUAGE AllowAmbiguousTypes #-} | |||
{-# LANGUAGE DataKinds #-} | |||
{-# LANGUAGE EmptyCase #-} |
Check warning
Code scanning / HLint
Unused LANGUAGE pragma Warning
Found:
{-# LANGUAGE EmptyCase #-}
Perhaps you should remove it.
{-# LANGUAGE FlexibleContexts #-} | ||
{-# LANGUAGE FlexibleInstances #-} | ||
{-# LANGUAGE GADTs #-} | ||
{-# LANGUAGE KindSignatures #-} |
Check warning
Code scanning / HLint
Unused LANGUAGE pragma Warning
Found:
{-# LANGUAGE KindSignatures #-}
Perhaps you should remove it.
Note: Extension KindSignatures is implied by TypeFamilies
{-# LANGUAGE RankNTypes #-} | ||
{-# LANGUAGE ScopedTypeVariables #-} | ||
{-# LANGUAGE StandaloneDeriving #-} | ||
{-# LANGUAGE TypeApplications #-} |
Check warning
Code scanning / HLint
Unused LANGUAGE pragma Warning
Found:
{-# LANGUAGE TypeApplications #-}
Perhaps you should remove it.
{-# LANGUAGE ScopedTypeVariables #-} | ||
{-# LANGUAGE StandaloneDeriving #-} | ||
{-# LANGUAGE TypeApplications #-} | ||
{-# LANGUAGE TypeFamilies #-} |
Check warning
Code scanning / HLint
Unused LANGUAGE pragma Warning
Found:
{-# LANGUAGE TypeFamilies #-}
Perhaps you should remove it.
Note: may require {-# LANGUAGE MonoLocalBinds #-} adding to the top of the file, may require {-# LANGUAGE ExplicitNamespaces #-} adding to the top of the file, Extension TypeFamilies is implied by TypeFamilyDependencies
createIndexedPlutusScriptWitness index witnessable pSwit = | ||
IndexedPlutusScriptWitness witnessable (toPlutusScriptPurpose index witnessable) pSwit |
Check warning
Code scanning / HLint
Eta reduce Warning
Found:
createIndexedPlutusScriptWitness index witnessable pSwit
= IndexedPlutusScriptWitness
witnessable (toPlutusScriptPurpose index witnessable) pSwit
Perhaps:
createIndexedPlutusScriptWitness index witnessable
= IndexedPlutusScriptWitness
witnessable (toPlutusScriptPurpose index witnessable)
{-# LANGUAGE GADTs #-} | ||
{-# LANGUAGE LambdaCase #-} | ||
{-# LANGUAGE NamedFieldPuns #-} | ||
{-# LANGUAGE PatternSynonyms #-} |
Check warning
Code scanning / HLint
Unused LANGUAGE pragma Warning
Found:
{-# LANGUAGE PatternSynonyms #-}
Perhaps you should remove it.
{-# LANGUAGE RankNTypes #-} | ||
{-# LANGUAGE ScopedTypeVariables #-} | ||
{-# LANGUAGE StandaloneDeriving #-} | ||
{-# LANGUAGE TupleSections #-} |
Check warning
Code scanning / HLint
Unused LANGUAGE pragma Warning
Found:
{-# LANGUAGE TupleSections #-}
Perhaps you should remove it.
{-# LANGUAGE ScopedTypeVariables #-} | ||
{-# LANGUAGE StandaloneDeriving #-} | ||
{-# LANGUAGE TupleSections #-} | ||
{-# LANGUAGE TypeApplications #-} |
Check warning
Code scanning / HLint
Unused LANGUAGE pragma Warning
Found:
{-# LANGUAGE TypeApplications #-}
Perhaps you should remove it.
{-# LANGUAGE TupleSections #-} | ||
{-# LANGUAGE TypeApplications #-} | ||
{-# LANGUAGE TypeFamilies #-} | ||
{-# LANGUAGE TypeOperators #-} |
Check warning
Code scanning / HLint
Unused LANGUAGE pragma Warning
Found:
{-# LANGUAGE TypeOperators #-}
Perhaps you should remove it.
Note: may require {-# LANGUAGE ExplicitNamespaces #-} adding to the top of the file
{-# LANGUAGE TypeApplications #-} | ||
{-# LANGUAGE TypeFamilies #-} | ||
{-# LANGUAGE TypeOperators #-} | ||
{-# LANGUAGE ViewPatterns #-} |
Check warning
Code scanning / HLint
Unused LANGUAGE pragma Warning
Found:
{-# LANGUAGE ViewPatterns #-}
Perhaps you should remove it.
41613bf
to
ee59574
Compare
{-# LANGUAGE TypeApplications #-} | ||
{-# LANGUAGE TypeFamilies #-} | ||
{-# LANGUAGE TypeFamilyDependencies #-} | ||
{-# LANGUAGE InstanceSigs #-} |
Check warning
Code scanning / HLint
Unused LANGUAGE pragma Warning
Found:
{-# LANGUAGE InstanceSigs #-}
Perhaps you should remove it.
Changelog
Context
Additional context for the PR goes here. If the PR fixes a particular issue please provide a link to the issue.
How to trust this PR
Highlight important bits of the PR that will make the review faster. If there are commands the reviewer can run to observe the new behavior, describe them.
Checklist