1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-21 02:27:10 +03:00

Fix a bad copy/paste apparently

This commit is contained in:
Alex Crichton 2015-03-05 09:46:51 -08:00
parent bbeb1b87c2
commit e1b2062f95

View File

@ -41,7 +41,7 @@ fn quasiquote(ast: MalVal) -> MalVal {
match **a0 {
List(ref a0args,_) | Vector(ref a0args,_) => {
match *a0args[0] {
Sym(ref s) if *s == "split-unqoute" => {
Sym(ref s) if *s == "splice-unquote" => {
return list(vec![symbol("concat"),
a0args[1].clone(),
quasiquote(list(args[1..].to_vec()))])