Plutus Pioneer Program - Week 4

start week 4 cabal repl

1
2
3
4
5
6
7
8
[fahmad@ryzen cardano]$  ls
haskel-for-imperative-programmers  haskell-and-crypto  plutus
haskell                            notes               plutus-pioneer-program
[fahmad@ryzen cardano]$  cd plutus
[fahmad@ryzen plutus]$ nix-shell
[nix-shell:/cardano/plutus]$  cd ../plutus-pioneer-program/code/week04/
[nix-shell:/cardano/plutus-pioneer-program/code/week04]$
  cabal repl plutus-pioneer-program-week04

run hello app

change app/hello.hs to

1
2
main :: IO ()
main = putStrLn "Hello, world!"
1
2
[nix-shell:/cardano/plutus-pioneer-program/code/week04]$
  cabal run hello
×