diff --git a/schala-repl/src/repl/mod.rs b/schala-repl/src/repl/mod.rs index 7cbf2d3..a673066 100644 --- a/schala-repl/src/repl/mod.rs +++ b/schala-repl/src/repl/mod.rs @@ -20,13 +20,13 @@ pub struct NewRepl { } impl NewRepl { - pub fn new(languages: Vec>) -> NewRepl { + pub fn new(initial_states: Vec>) -> NewRepl { use linefeed::Interface; let line_reader = Interface::new("schala-repl").unwrap(); let interpreter_directive_sigil = ':'; NewRepl { - interpreter_directive_sigil, line_reader, language_states + interpreter_directive_sigil, line_reader, language_states: initial_states, } }