Skip to content

Commit

Permalink
remove postfixapostrophize
Browse files Browse the repository at this point in the history
Its definition was overwritten, and is not necessary.
  • Loading branch information
JeffBezanson committed Dec 20, 2017
1 parent 3726aa0 commit ac70f6d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions base/boot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,6 @@ macro _noinline_meta()
Expr(:meta, :noinline)
end

function postfixapostrophize end

struct BoundsError <: Exception
a::Any
i::Any
Expand Down
3 changes: 0 additions & 3 deletions base/operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -739,9 +739,6 @@ fldmod1(x::T, y::T) where {T<:Real} = (fld1(x,y), mod1(x,y))
# efficient version for integers
fldmod1(x::T, y::T) where {T<:Integer} = (fld1(x,y), mod1(x,y))

# postfix apostophre
Core.postfixapostrophize(x) = Adjoint(x)

"""
adjoint(A)
Expand Down
2 changes: 1 addition & 1 deletion src/julia-syntax.scm
Original file line number Diff line number Diff line change
Expand Up @@ -2378,7 +2378,7 @@
,.(apply append rows)))
`(call (top typed_vcat) ,t ,@a)))))

'|'| (lambda (e) (expand-forms `(call (core postfixapostrophize) ,(cadr e))))
'|'| (lambda (e) (expand-forms `(call (top Adjoint) ,(cadr e))))
'|.'| (lambda (e) (begin (deprecation-message (string "The syntax `.'` for transposition is deprecated, "
"and the special lowering of `.'` in multiplication "
"(`*`), left-division (`\\`), and right-division (`/`) "
Expand Down

0 comments on commit ac70f6d

Please sign in to comment.