about summary refs log tree commit diff
path: root/users/fcuny/exp/monkey/pkg/repl/repl.go
diff options
context:
space:
mode:
Diffstat (limited to 'users/fcuny/exp/monkey/pkg/repl/repl.go')
-rw-r--r--users/fcuny/exp/monkey/pkg/repl/repl.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/fcuny/exp/monkey/pkg/repl/repl.go b/users/fcuny/exp/monkey/pkg/repl/repl.go
index e8b3b1f..5e7b1d1 100644
--- a/users/fcuny/exp/monkey/pkg/repl/repl.go
+++ b/users/fcuny/exp/monkey/pkg/repl/repl.go
@@ -1,3 +1,4 @@
+// Package repl provides a REPL to the monkey language.
 package repl
 
 import (
@@ -13,7 +14,7 @@ const PROMPT = ">> "
 func Start(in io.Reader, out io.Writer) {
 	scanner := bufio.NewScanner(in)
 	for {
-		fmt.Printf(PROMPT)
+		fmt.Print(PROMPT)
 		scanned := scanner.Scan()
 
 		if !scanned {