Skip to content

Commit

Permalink
Update plutus-core/src/Language/PlutusCore/Constant/Meaning.hs
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
  • Loading branch information
effectfully and michaelpj committed Oct 28, 2020
1 parent 7a83f55 commit b87eee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plutus-core/src/Language/PlutusCore/Constant/Meaning.hs
Expand Up @@ -134,7 +134,7 @@ We use two type classes for automatic derivation of type schemes: 'KnownMonotype
'KnownMonotype' and 'KnownPolytype' are responsible for deriving monomorphic and polymorphic types,
respectively. 'KnownMonotype' turns every argument that the Haskell denotation of a builtin
receives into a 'TypeSchemeArror'. We extract the arguments from the type of the Haskell denotation
receives into a 'TypeSchemeArrow'. We extract the arguments from the type of the Haskell denotation
using the 'GetArgs' type family. 'KnownPolytype' turns every bound variable into a 'TypeSchemeAll'.
We extract variables from the type of the Haskell denotation using the 'ToBinds' type family
(in particular, see the @ToBinds (TypeScheme term args res)@ type instances). Variables are
Expand Down

0 comments on commit b87eee9

Please sign in to comment.