Skip to content

Commit

Permalink
plutus-doc: Add a missing module
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mueller committed Jan 19, 2021
1 parent 2769964 commit dd8ca87
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/plutus-doc.cabal
Expand Up @@ -52,6 +52,7 @@ executable doc-doctests
BasicValidators
BasicPolicies
BasicApps
HelloWorldApp
build-depends:
base >=4.9 && <5,
template-haskell >=2.13.0.0,
Expand Down
6 changes: 4 additions & 2 deletions doc/tutorials/HelloWorldApp.hs
@@ -1,4 +1,6 @@
module HelloWorld where
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeApplications #-}
module HelloWorldApp where

import qualified Data.Text as T
import Language.Plutus.Contract hiding (when)
Expand All @@ -12,7 +14,7 @@ hello :: Contract BlockchainActions T.Text ()
hello = logInfo @String "Hello, world"
-- BLOCK2


endpoints :: Contract BlockchainActions T.Text ()
endpoints = hello

mkSchemaDefinitions ''BlockchainActions
Expand Down
1 change: 1 addition & 0 deletions nix/stack.materialized/plutus-doc.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dd8ca87

Please sign in to comment.