Last active
June 1, 2022 10:34
-
-
Save paluh/22efaf338128d694ea10440b073f4802 to your computer and use it in GitHub Desktop.
Revisions
-
paluh revised this gist
Jun 1, 2022 . No changes.There are no files selected for viewing
-
paluh created this gist
May 30, 2022 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ {-# LANGUAGE OverloadedStrings #-} module Example where import Language.Marlowe.Extended main :: IO () main = printJSON $ contract {- Define a contract, Close is the simplest contract which just ends the contract straight away -} contract :: Contract contract = Close This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ {"valueParameterInfo":[],"timeParameterDescriptions":[],"roleDescriptions":[],"contractType":"Other","contractShortDescription":"Unknown","contractName":"Unknown","contractLongDescription":"We couldn't find information about this contract","choiceInfo":[]} This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ {}