Skip to content

Commit

Permalink
Pass 4
Browse files Browse the repository at this point in the history
  • Loading branch information
asarhaddon committed Oct 10, 2024
1 parent e2ef542 commit 4061d12
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 18 deletions.
3 changes: 1 addition & 2 deletions impls/scala/step2_eval.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ object step2_eval {
case v: MalVector => return v.map(EVAL(_, env))
case l: MalList => {}
case m: MalHashMap => {
return
m.map{case (k,v) => (k, EVAL(v, env))}
return m.map{case (k,v) => (k, EVAL(v, env))}
}
case _ => return ast
}
Expand Down
3 changes: 1 addition & 2 deletions impls/scala/step3_env.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ object step3_env {
case v: MalVector => return v.map(EVAL(_, env))
case l: MalList => {}
case m: MalHashMap => {
return
m.map{case (k,v) => (k, EVAL(v, env))}
return m.map{case (k,v) => (k, EVAL(v, env))}
}
case _ => return ast
}
Expand Down
3 changes: 1 addition & 2 deletions impls/scala/step4_if_fn_do.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ object step4_if_fn_do {
case v: MalVector => return v.map(EVAL(_, env))
case l: MalList => {}
case m: MalHashMap => {
return
m.map{case (k,v) => (k, EVAL(v, env))}
return m.map{case (k,v) => (k, EVAL(v, env))}
}
case _ => return ast
}
Expand Down
3 changes: 1 addition & 2 deletions impls/scala/step5_tco.scala
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ object step5_tco {
case v: MalVector => return v.map(EVAL(_, env))
case l: MalList => {}
case m: MalHashMap => {
return
m.map{case (k,v) => (k, EVAL(v, env))}
return m.map{case (k,v) => (k, EVAL(v, env))}
}
case _ => return ast
}
Expand Down
3 changes: 1 addition & 2 deletions impls/scala/step6_file.scala
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ object step6_file {
case v: MalVector => return v.map(EVAL(_, env))
case l: MalList => {}
case m: MalHashMap => {
return
m.map{case (k,v) => (k, EVAL(v, env))}
return m.map{case (k,v) => (k, EVAL(v, env))}
}
case _ => return ast
}
Expand Down
3 changes: 1 addition & 2 deletions impls/scala/step7_quote.scala
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ object step7_quote {
case v: MalVector => return v.map(EVAL(_, env))
case l: MalList => {}
case m: MalHashMap => {
return
m.map{case (k,v) => (k, EVAL(v, env))}
return m.map{case (k,v) => (k, EVAL(v, env))}
}
case _ => return ast
}
Expand Down
3 changes: 1 addition & 2 deletions impls/scala/step8_macros.scala
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ object step8_macros {
case v: MalVector => return v.map(EVAL(_, env))
case l: MalList => {}
case m: MalHashMap => {
return
m.map{case (k,v) => (k, EVAL(v, env))}
return m.map{case (k,v) => (k, EVAL(v, env))}
}
case _ => return ast
}
Expand Down
3 changes: 1 addition & 2 deletions impls/scala/step9_try.scala
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ object step9_try {
case v: MalVector => return v.map(EVAL(_, env))
case l: MalList => {}
case m: MalHashMap => {
return
m.map{case (k,v) => (k, EVAL(v, env))}
return m.map{case (k,v) => (k, EVAL(v, env))}
}
case _ => return ast
}
Expand Down
3 changes: 1 addition & 2 deletions impls/scala/stepA_mal.scala
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ object stepA_mal {
case v: MalVector => return v.map(EVAL(_, env))
case l: MalList => {}
case m: MalHashMap => {
return
m.map{case (k,v) => (k, EVAL(v, env))}
return m.map{case (k,v) => (k, EVAL(v, env))}
}
case _ => return ast
}
Expand Down

0 comments on commit 4061d12

Please sign in to comment.