Skip to content

Commit

Permalink
remove unsound normalization rules
Browse files Browse the repository at this point in the history
  • Loading branch information
countvajhula committed Dec 14, 2023
1 parent b3b843d commit 757ff29
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions qi-lib/flow/core/normalize.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
;; (~> (pass f) (>< g)) → (>< (if f g ⏚))
[(thread _0 ... (pass f) (amp g) _1 ...)
#'(thread _0 ... (amp (if f g ground)) _1 ...)]
;; merge amps in sequence
[(thread _0 ... (amp f) (amp g) _1 ...)
#'(thread _0 ... (amp (thread f g)) _1 ...)]
;; merge pass filters in sequence
[(thread _0 ... (pass f) (pass g) _1 ...)
#'(thread _0 ... (pass (and f g)) _1 ...)]
Expand All @@ -48,9 +45,6 @@
;; composition of identity flows is the identity flow
[(thread (~datum _) ...)
#'_]
;; identity flows composed using a relay
[(relay (~datum _) ...)
#'_]
;; amp and identity
[(amp (~datum _))
#'_]
Expand Down

0 comments on commit 757ff29

Please sign in to comment.