Skip to content

Commit

Permalink
Use the argument as an input program
Browse files Browse the repository at this point in the history
  • Loading branch information
y-taka-23 committed Oct 4, 2016
1 parent cf2db91 commit 507df05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Brainfuck.fr
Expand Up @@ -67,7 +67,7 @@ private printAsChar i = print $ packed [Char.from i]
-- execution environment

run :: String -> IO Tape
run prog = execute (parse helloWorld) (Tape [] 0 [])
run prog = execute (parse prog) (Tape [] 0 [])

main _ = do
tape <- run helloWorld
Expand Down

0 comments on commit 507df05

Please sign in to comment.