Skip to content

Commit

Permalink
Fix bogus antidependency of FP on Sprite
Browse files Browse the repository at this point in the history
This was resulting from confusion between Λ.BPlus vs F.Plus: they are not the same thing.
  • Loading branch information
shingarov committed Oct 24, 2024
1 parent 093b569 commit 961ba4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Refinements/EBin.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ EBin >> bop: anObject [
{ #category : #'term rewriting' }
EBin >> evaluateIn: anEvalEnv ifUndeclared: vndBlock [
^(left evaluateIn: anEvalEnv ifUndeclared: vndBlock)
perform: bop smalltalkSelector
perform: bop
with: (right evaluateIn: anEvalEnv ifUndeclared: vndBlock)
]

Expand Down
3 changes: 2 additions & 1 deletion src/SpriteLang/ΛPrimOp.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ Class {
ΛPrimOp >> embedPrim: args [
"
embedPrim :: PrimOp -> [F.Expr] -> F.Expr
Cf. L₈ Reflect.hs
"
self assert: args size = 2.
^EBin
bop: self
bop: self smalltalkSelector
left: args first
right: args second
]
Expand Down

0 comments on commit 961ba4a

Please sign in to comment.