Skip to content

Commit

Permalink
cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
macrologist committed Sep 24, 2024
1 parent f99a2cc commit 183205a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/coalton/ast/unresolved.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@

(define-type (MaybeFormal :t)
"A wrapper type representing a value which may in some contexts be
represented by a formal name."
represented by a formal name."
(Actual :t)
(Formal String))

Expand Down Expand Up @@ -183,9 +183,9 @@ represented by a formal name."
(define (offset-amount (MemOffset _ amount)) amount)

(define-type (PauliTerm :num)
(PauliTerm String ; pauli word, string of pauli gate names X,Y,Z,I
:num ; prefactor
(List String))) ; arguments
(PauliTerm String ; pauli word, string of pauli gate names X,Y,Z,I
:num ; prefactor
(List String))) ; arguments

(define (pauli-term-word (PauliTerm word _ _)) word)
(define (pauli-term-prefactor (PauliTerm _ pf _)) pf)
Expand Down Expand Up @@ -264,8 +264,6 @@ represented by a formal name."

(Measure (MaybeFormal Ufix) (MaybeFormal Ref))
(MeasureDiscard (MaybeFormal Ufix)))


;; end module
)

Expand Down

0 comments on commit 183205a

Please sign in to comment.