Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
effectfully committed Feb 20, 2022
1 parent 799d9fc commit 669a4e3
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
2 changes: 0 additions & 2 deletions plutus-core/plutus-core/src/PlutusCore/Builtin/Meaning.hs
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ Where all lower-case names are Haskell type variables). We'll call functions hav
The end result is that the user only has to specify the type of the denotation of a built-in
function and the 'TypeScheme' of the built-in function will be derived automatically. And in the
monomorphic and simply-polymorphic cases no types need to be specified at all.
The 'INLINE' pragmas are required for this stuff to be
-}

type family GetArgs a :: [GHC.Type] where
Expand Down
2 changes: 0 additions & 2 deletions plutus-core/plutus-core/src/PlutusCore/Builtin/Runtime.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{-# LANGUAGE BangPatterns #-}

{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DefaultSignatures #-}
{-# LANGUAGE GADTs #-}
Expand Down
3 changes: 2 additions & 1 deletion plutus-core/plutus-core/src/PlutusCore/Default/Builtins.hs
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,8 @@ instance uni ~ DefaultUni => ToBuiltinMeaning uni DefaultFun where
makeBuiltinMeaning
(\() -> [] @(Data,Data))
(runCostingFunOneArgument . paramMkNilPairData)
{-# INLINEABLE toBuiltinMeaning #-}
-- Keeping the unfolding, so that this function can be inlined in 'toBuiltinsRuntime'.
{-# INLINABLE toBuiltinMeaning #-}

-- It's set deliberately to give us "extra room" in the binary format to add things without running
-- out of space for tags (expanding the space would change the binary format for people who're
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# OPTIONS_GHC -O2 #-}

{-# OPTIONS_GHC -ddump-simpl -ddump-to-file -dsuppress-all -fforce-recomp -dumpdir /tmp/dumps #-}

module UntypedPlutusCore.Evaluation.Machine.Cek.Default () where

import UntypedPlutusCore.Evaluation.Machine.Cek.Internal
Expand Down

0 comments on commit 669a4e3

Please sign in to comment.